Cleanup - audit
This commit is contained in:
1 parent
2e19f0945f
commit
b6052ee7b8
5 files changed
+34
-43
No files matched your search
@@ -40,12 +40,5 @@ func (a *App) onMulticastDiscovery(pkt multicast.Packet) {
|
||||
return
|
||||
}
|
||||
|
||||
var v4, v6 netip.AddrPort
|
||||
if pkt.Src.Is4() {
|
||||
v4 = endpoint
|
||||
} else {
|
||||
v6 = endpoint
|
||||
}
|
||||
|
||||
a.addProbe(peer, v4, v6)
|
||||
peer.EndpointLAN = endpoint
|
||||
}
|
||||
Reference in new issue
Block a user