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 | 9bd74bb826cc0c5a1cbbdedafb682150daf7d89a (patch) | |
tree | 76833351e99da34fd7c3953fa8d0de02ad177219 /app/tools/libwg-go/src/git.zx2c4.com/wireguard-go | |
parent | 7269b487798291869db0840a5f7cb0cf612512af (diff) |
libwg-go: Saner way to deal with sockets
Diffstat (limited to 'app/tools/libwg-go/src/git.zx2c4.com/wireguard-go')
-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) |