diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-27 05:13:37 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-27 05:24:25 +0100 |
commit | c93e81c632d2be7faa53ad2803a61444710ae962 (patch) | |
tree | 759768668d02feedd9036c7f8cae554252e09023 /app/tools/libwg-go/src/api-android.go | |
parent | 050e202291755aa867aecaddb723b00403f5bcbd (diff) |
libwg-go: update to 1.12
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools/libwg-go/src/api-android.go')
-rw-r--r-- | app/tools/libwg-go/src/api-android.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/tools/libwg-go/src/api-android.go b/app/tools/libwg-go/src/api-android.go index 2c28fc76..ddf175ab 100644 --- a/app/tools/libwg-go/src/api-android.go +++ b/app/tools/libwg-go/src/api-android.go @@ -11,8 +11,8 @@ import "C" import ( "bufio" - "git.zx2c4.com/wireguard-go/tun" "golang.org/x/sys/unix" + "golang.zx2c4.com/wireguard/tun" "log" "math" "net" @@ -52,7 +52,7 @@ func init() { case <-signals: n := runtime.Stack(buf, true) buf[n] = 0 - C.__android_log_write(C.ANDROID_LOG_ERROR, C.CString("WireGuard/GoBackend/Stacktrace"), (*_Ctype_char)(unsafe.Pointer(&buf[0]))) + C.__android_log_write(C.ANDROID_LOG_ERROR, C.CString("WireGuard/GoBackend/Stacktrace"), (*C.char)(unsafe.Pointer(&buf[0]))) } } }() @@ -89,7 +89,7 @@ func wgTurnOn(ifnameRef string, tunFd int32, settings string) int32 { return -1 } - var uapi net.Listener; + var uapi net.Listener uapiFile, err := UAPIOpen(name) if err != nil { |