Fixed some audit issues.

This commit is contained in:
jdl
2026-06-15 18:55:29 +02:00
parent 36e9f6149d
commit 9d57f45aea
2 changed files with 7 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ func (a *App) onMulticastDiscovery(pkt multicast.Packet) {
}
endpoint := netip.AddrPortFrom(pkt.Src, pkt.WGPort)
if !endpoint.IsValid() {
if !endpoint.IsValid() || endpoint.Port() == 0 {
return
}