mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 18:24:36 +00:00
Add is_hole_punched flag to PeerConn (#1001)
This commit is contained in:
@@ -221,7 +221,7 @@ impl UdpHoePunchConnectorData {
|
||||
Ok(Some(tunnel)) => {
|
||||
tracing::info!(?tunnel, "hole punching get tunnel success");
|
||||
|
||||
if let Err(e) = self.peer_mgr.add_client_tunnel(tunnel).await {
|
||||
if let Err(e) = self.peer_mgr.add_client_tunnel(tunnel, false).await {
|
||||
tracing::warn!(?e, "add client tunnel failed");
|
||||
op(true);
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user