diff options
author | Jonathan Davies <jpds@protonmail.com> | 2020-09-16 13:28:04 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-16 18:01:06 +0200 |
commit | b877593d552e1d57038f4ab4708d0f00cb547c6b (patch) | |
tree | d504cf26afb22eb012d68ab92ea127dfc79b66ef /tunnel/tools/libwg-go/api-android.go | |
parent | dcd596907a172e071c5ae7f10b6bcd07abf6ca9b (diff) |
libwg-go: use PeekLookAtSocketFd6(), not PeekLookAtSocketFd4()
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Fixes: 3d088411 ("libwg-go: use conn.Bind for socketfd peek")
Cc: David Crawshaw <crawshaw@tailscale.com>
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 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 } |