device: make new peers inherit broken mobile semantics
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
e3134bf665
commit
111e0566dc
3 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue