mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +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
|
@ -169,6 +169,8 @@ func (n *node) announce() {
|
|||
panic(err)
|
||||
}
|
||||
var anAddr net.UDPAddr
|
||||
udpAddr := n.core.DEBUG_getGlobalUDPAddr()
|
||||
anAddr.Port = udpAddr.Port
|
||||
destAddr, err := net.ResolveUDPAddr("udp6", multicastAddr)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue