summaryrefslogtreecommitdiffhomepage
path: root/app/tools/libwg-go
diff options
context:
space:
mode:
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
}