Cleanup
This commit is contained in:
parent
232681fac6
commit
a0b5058544
@ -381,8 +381,6 @@ func (s *stateClient) OnLocalDiscovery(msg controlMsg[localDiscoveryPacket]) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send probe.
|
|
||||||
//
|
|
||||||
// The source port will be the multicast port, so we'll have to
|
// The source port will be the multicast port, so we'll have to
|
||||||
// construct the correct address using the peer's listed port.
|
// construct the correct address using the peer's listed port.
|
||||||
s.localDiscoveryAddr = netip.AddrPortFrom(msg.SrcAddr.Addr(), s.peer.Port)
|
s.localDiscoveryAddr = netip.AddrPortFrom(msg.SrcAddr.Addr(), s.peer.Port)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user