Audit changes.

This commit is contained in:
jdl
2026-06-13 15:37:35 +02:00
parent c0126c2036
commit 0709c4dac0
3 changed files with 13 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ func Broadcast(
}
func broadcastInner(selfVPNIP netip.Addr, pubKey wgtypes.Key, wgPort uint16, signKey *[64]byte) {
conn, err := net.ListenMulticastUDP("udp", nil, addr)
conn, err := net.ListenMulticastUDP("udp", nil, multicastAddr(selfVPNIP))
if err != nil {
log.Printf("[MCBroadcast] bind: %v", err)
return