mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-06 09:07:03 +08:00
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