From f988306c17a8acbc4e0c9784a99d63a16ad19950 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 27 May 2018 18:17:50 +0200 Subject: [PATCH] libwg-go: Saner way to deal with sockets Signed-off-by: Jason A. Donenfeld --- .../libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go | 1 + app/tools/wireguard-go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 index 778ff804..1794f1f4 160000 --- a/app/tools/wireguard-go +++ b/app/tools/wireguard-go @@ -1 +1 @@ -Subproject commit 778ff804246ed3d639f2e091bef5e05a9ef9e057 +Subproject commit 1794f1f485f5dd09d37883869e0bbef80188cfa2