diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-22 02:38:46 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-22 15:27:53 +0100 |
commit | 11301617d24cd451065c5682e4170f8d4d781c1d (patch) | |
tree | 7bb77be8139606bb6b3b1ed3b4beadf18c03cfd4 /tunnel/tools/libwg-go/api-android.go | |
parent | 617be576f8a1bc41ec0b32ea57c84e44626b7352 (diff) |
tunnel: update to go 1.16 and newer api
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel/tools/libwg-go/api-android.go')
-rw-r--r-- | tunnel/tools/libwg-go/api-android.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/tools/libwg-go/api-android.go b/tunnel/tools/libwg-go/api-android.go index 5e85d086..6d0802ff 100644 --- a/tunnel/tools/libwg-go/api-android.go +++ b/tunnel/tools/libwg-go/api-android.go @@ -88,7 +88,7 @@ func wgTurnOn(interfaceName string, tunFd int32, settings string) int32 { } logger.Verbosef("Attaching to interface %v", name) - device := device.NewDevice(tun, logger) + device := device.NewDevice(tun, conn.NewStdNetBind(), logger) err = device.IpcSet(settings) if err != nil { |