Fixed some audit issues.
This commit is contained in:
1 parent
36e9f6149d
commit
9d57f45aea
2 files changed
+7
-4
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user