diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-27 18:17:50 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-27 18:17:55 +0200 |
commit | f988306c17a8acbc4e0c9784a99d63a16ad19950 (patch) | |
tree | 76833351e99da34fd7c3953fa8d0de02ad177219 /app/tools/libwg-go/src/git.zx2c4.com | |
parent | 64ce6cd5a26ee0ffb2826e09cc03302bfb7bcddc (diff) |
libwg-go: Saner way to deal with sockets
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools/libwg-go/src/git.zx2c4.com')
-rw-r--r-- | app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go b/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go index 24a0eaec..f5dae966 100644 --- a/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go +++ b/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go @@ -36,6 +36,7 @@ func (l AndroidLogger) Write(p []byte) (int, error) { var tunnelHandles map[int32]*Device func init() { + roamingDisabled = true tunnelHandles = make(map[int32]*Device) signals := make(chan os.Signal) signal.Notify(signals, unix.SIGUSR2) |