summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-27 18:17:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-27 18:17:55 +0200
commitf988306c17a8acbc4e0c9784a99d63a16ad19950 (patch)
tree76833351e99da34fd7c3953fa8d0de02ad177219
parent64ce6cd5a26ee0ffb2826e09cc03302bfb7bcddc (diff)
libwg-go: Saner way to deal with sockets
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go1
m---------app/tools/wireguard-go0
2 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)
diff --git a/app/tools/wireguard-go b/app/tools/wireguard-go
-Subproject 778ff804246ed3d639f2e091bef5e05a9ef9e05
+Subproject 1794f1f485f5dd09d37883869e0bbef80188cfa