diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-07 10:21:02 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-07 10:21:02 +0200 |
commit | 5b5ba88a97b5310c532b42b526f78d1c747965f8 (patch) | |
tree | f2814d75d32caeace4d7e294dbdfa866699289c2 /tunnel/tools/libwg-go/api-android.go | |
parent | ceb3095a0a79fedd53277b6d850a59ec7cebf45a (diff) |
tunnel: use more subtle roaming escape hatch
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel/tools/libwg-go/api-android.go')
-rw-r--r-- | tunnel/tools/libwg-go/api-android.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/tools/libwg-go/api-android.go b/tunnel/tools/libwg-go/api-android.go index 40cc6427..4bfaa2a0 100644 --- a/tunnel/tools/libwg-go/api-android.go +++ b/tunnel/tools/libwg-go/api-android.go @@ -46,7 +46,6 @@ type TunnelHandle struct { var tunnelHandles map[int32]TunnelHandle func init() { - device.RoamingDisabled = true tunnelHandles = make(map[int32]TunnelHandle) signals := make(chan os.Signal) signal.Notify(signals, unix.SIGUSR2) @@ -91,6 +90,7 @@ func wgTurnOn(ifnameRef string, tunFd int32, settings string) int32 { logger.Error.Println(setError) return -1 } + device.DisableSomeRoamingForBrokenMobileSemantics() var uapi net.Listener |