From ad176142f00ac2ec29b0dc6fe643a05ffe4cbbc3 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 27 Apr 2018 05:43:02 +0200 Subject: Latest go changes --- app/tools/libwg-go/api-android.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/tools/libwg-go') 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 } -- cgit v1.2.3