device: format a few things
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
3b490f30aa
commit
5ca1218a5c
|
@ -13,4 +13,4 @@ func (device *Device) DisableSomeRoamingForBrokenMobileSemantics() {
|
|||
peer.disableRoaming = peer.endpoint != nil
|
||||
}
|
||||
device.peers.RUnlock()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -291,7 +291,6 @@ func (peer *Peer) Stop() {
|
|||
peer.ZeroAndFlushAll()
|
||||
}
|
||||
|
||||
|
||||
func (peer *Peer) SetEndpointFromPacket(endpoint conn.Endpoint) {
|
||||
if peer.disableRoaming {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue