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