summaryrefslogtreecommitdiffhomepage
path: root/app/tools/libwg-go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-04-27 05:43:02 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-04-27 05:43:07 +0200
commit254cc4cc8787745df0e153eba3357cdb6a4b9226 (patch)
treee5ae63a5b116855176f3d048b66369c25d50e305 /app/tools/libwg-go
parent31101f24181ea6e525659a4b0834efff4e6ee7a3 (diff)
Latest go changes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools/libwg-go')
-rw-r--r--app/tools/libwg-go/api-android.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/tools/libwg-go/api-android.go b/app/tools/libwg-go/api-android.go
index af64f51f..2e20884d 100644
--- a/app/tools/libwg-go/api-android.go
+++ b/app/tools/libwg-go/api-android.go
@@ -108,7 +108,7 @@ func wgGetSocketV4(tunnelHandle int32) int32 {
if !ok {
return -1
}
- native, ok := device.net.bind.(NativeBind)
+ native, ok := device.net.bind.(*NativeBind)
if !ok {
return -1
}
@@ -121,7 +121,7 @@ func wgGetSocketV6(tunnelHandle int32) int32 {
if !ok {
return -1
}
- native, ok := device.net.bind.(NativeBind)
+ native, ok := device.net.bind.(*NativeBind)
if !ok {
return -1
}