diff options
-rw-r--r-- | device/uapi.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/device/uapi.go b/device/uapi.go index 87c5dd9..2306183 100644 --- a/device/uapi.go +++ b/device/uapi.go @@ -261,7 +261,9 @@ func (peer *ipcSetPeer) handlePostConfig() { if peer.Peer == nil || peer.dummy { return } - peer.disableRoaming = peer.device.net.brokenRoaming && peer.endpoint != nil + if peer.created { + peer.disableRoaming = peer.device.net.brokenRoaming && peer.endpoint != nil + } if peer.device.isUp() { peer.Start() if peer.pkaOn { |