diff options
Diffstat (limited to 'device/peer.go')
-rw-r--r-- | device/peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/peer.go b/device/peer.go index af3ef9d..815dff4 100644 --- a/device/peer.go +++ b/device/peer.go @@ -258,10 +258,10 @@ func (peer *Peer) Stop() { peer.ZeroAndFlushAll() } -var roamingDisabled bool +var RoamingDisabled bool func (peer *Peer) SetEndpointFromPacket(endpoint Endpoint) { - if roamingDisabled { + if RoamingDisabled { return } peer.Lock() |