Fixed some audit issues.

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

No files matched your search

+1 -1
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
}