mirror of
https://github.com/fosrl/olm.git
synced 2026-02-24 13:56:44 +00:00
@@ -786,12 +786,7 @@ func StartTunnel(config TunnelConfig) {
|
||||
logger.Debug("Exit node %s already in holepunch rotation", exitNode.Endpoint)
|
||||
}
|
||||
|
||||
// Start holepunching if not already running
|
||||
if !holePunchManager.IsRunning() {
|
||||
if err := holePunchManager.Start(); err != nil {
|
||||
logger.Error("Failed to start holepunch manager: %v", err)
|
||||
}
|
||||
}
|
||||
holePunchManager.ResetInterval() // start sending immediately again so we fill in the endpoint on the cloud
|
||||
}
|
||||
|
||||
// Send handshake acknowledgment back to server with retry
|
||||
|
||||
Reference in New Issue
Block a user