diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-06 18:01:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-06 18:01:27 +0100 |
commit | 5ca1218a5c16fb9b5e99b61c0b5758f66087e2e4 (patch) | |
tree | 2994388271a069fea0f4254befd7dfb81994a382 /device | |
parent | 3b490f30aa4d8762d89a51d90f330b39f0be5fef (diff) |
device: format a few things
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device')
-rw-r--r-- | device/mobilequirks.go | 2 | ||||
-rw-r--r-- | device/peer.go | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/device/mobilequirks.go b/device/mobilequirks.go index fc0b386..c92bd3d 100644 --- a/device/mobilequirks.go +++ b/device/mobilequirks.go @@ -13,4 +13,4 @@ func (device *Device) DisableSomeRoamingForBrokenMobileSemantics() { peer.disableRoaming = peer.endpoint != nil } device.peers.RUnlock() -}
\ No newline at end of file +} diff --git a/device/peer.go b/device/peer.go index 8cb0dc2..ef6c010 100644 --- a/device/peer.go +++ b/device/peer.go @@ -291,7 +291,6 @@ func (peer *Peer) Stop() { peer.ZeroAndFlushAll() } - func (peer *Peer) SetEndpointFromPacket(endpoint conn.Endpoint) { if peer.disableRoaming { return |