mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
Add comment
This commit is contained in:
1
main.go
1
main.go
@@ -267,6 +267,7 @@ func configureLinux(interfaceName string, ip net.IP, ipNet *net.IPNet) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: we need to send the token with this probably to verify auth
|
||||||
func sendUDPHolePunch(serverAddr string, olmID string, sourcePort int) error {
|
func sendUDPHolePunch(serverAddr string, olmID string, sourcePort int) error {
|
||||||
// Bind to specific local port
|
// Bind to specific local port
|
||||||
localAddr := &net.UDPAddr{
|
localAddr := &net.UDPAddr{
|
||||||
|
|||||||
Reference in New Issue
Block a user