diff options
Diffstat (limited to 'app/tools/libwg-go/api-android.go')
-rw-r--r-- | app/tools/libwg-go/api-android.go | 1 |
1 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 |