diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-04-27 05:43:02 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-04-27 05:43:07 +0200 |
commit | ad176142f00ac2ec29b0dc6fe643a05ffe4cbbc3 (patch) | |
tree | e5ae63a5b116855176f3d048b66369c25d50e305 /app/tools/libwg-go | |
parent | 8a0dae6bc521417c31f4c404f390fc19c1b6f29e (diff) |
Latest go changes
Diffstat (limited to 'app/tools/libwg-go')
-rw-r--r-- | app/tools/libwg-go/api-android.go | 4 |
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 } |