diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-02-28 12:42:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-02-28 19:59:50 +0100 |
commit | 19aec7c5c68ae5f8763004d3673c57d0722db39a (patch) | |
tree | 9de274ba34496df88e07c4bc64b17f91ad932abd /app/tools | |
parent | f2113f80dbe7a741e6776cf70da778d9f82a62da (diff) |
GoBackend: support NO_PI mode
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools')
-rw-r--r-- | app/tools/libwg-go/api-android.go | 1 | ||||
m--------- | app/tools/wireguard-go | 0 |
2 files changed, 1 insertions, 0 deletions
diff --git a/app/tools/libwg-go/api-android.go b/app/tools/libwg-go/api-android.go index b2e3da17..b283d3ad 100644 --- a/app/tools/libwg-go/api-android.go +++ b/app/tools/libwg-go/api-android.go @@ -45,6 +45,7 @@ func wgTurnOn(ifnameRef string, tun_fd int32, settings string) int32 { fd: os.NewFile(uintptr(tun_fd), ""), events: make(chan TUNEvent, 5), errors: make(chan error, 5), + nopi: true, } device := NewDevice(tun, logger) device.tun.mtu = DefaultMTU //TODO: make dynamic diff --git a/app/tools/wireguard-go b/app/tools/wireguard-go -Subproject 09de7d1342a6d069ee888370a9bdcc289fadc73 +Subproject fd248c6cb1873229b5e487045accdf7ed7ac822 |