mirror of
https://github.com/fosrl/olm.git
synced 2026-02-27 15:26:45 +00:00
Add debug holepunch messahe
This commit is contained in:
@@ -231,6 +231,8 @@ func sendUDPHolePunch(serverAddr string, olmID string, sourcePort uint16) error
|
|||||||
return fmt.Errorf("failed to send UDP packet: %v", err)
|
return fmt.Errorf("failed to send UDP packet: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Debug("Sent UDP hole punch to %s: %s", serverAddr, string(jsonData))
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user