mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
if you could go ahead and include your port number in your multicast announcements, that'd be great
This commit is contained in:
parent
a54f6850c8
commit
06e3c8c997
2 changed files with 4 additions and 2 deletions
|
@ -269,8 +269,8 @@ func (c *Core) DEBUG_setupAndStartGlobalUDPInterface(addrport string) {
|
|||
c.udp = &iface
|
||||
}
|
||||
|
||||
func (c *Core) DEBUG_getGlobalUDPAddr() net.Addr {
|
||||
return c.udp.sock.LocalAddr()
|
||||
func (c *Core) DEBUG_getGlobalUDPAddr() *net.UDPAddr {
|
||||
return c.udp.sock.LocalAddr().(*net.UDPAddr)
|
||||
}
|
||||
|
||||
func (c *Core) DEBUG_maybeSendUDPKeys(saddr string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue