summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tunnel/tools/libwg-go/api-android.go2
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 70c1c0c9..40cc6427 100644
--- a/tunnel/tools/libwg-go/api-android.go
+++ b/tunnel/tools/libwg-go/api-android.go
@@ -172,7 +172,7 @@ func wgGetSocketV6(tunnelHandle int32) int32 {
if bind == nil {
return -1
}
- fd, err := bind.PeekLookAtSocketFd4()
+ fd, err := bind.PeekLookAtSocketFd6()
if err != nil {
return -1
}