device: make new peers inherit broken mobile semantics
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -261,6 +261,7 @@ func (peer *ipcSetPeer) handlePostConfig() {
|
||||
if peer.Peer == nil {
|
||||
return
|
||||
}
|
||||
peer.disableRoaming = peer.device.net.brokenRoaming && peer.endpoint != nil
|
||||
if !peer.dummy && peer.device.isUp() {
|
||||
peer.Start()
|
||||
if peer.pkaOn {
|
||||
|
||||
Reference in New Issue
Block a user