Fixed some audit issues.
This commit is contained in:
@@ -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