Latest go changes

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld committed 2018-04-27 05:43:07 +02:00
1 parent 31101f2418
commit 254cc4cc87
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -108,7 +108,7 @@ func wgGetSocketV4(tunnelHandle int32) int32 {
if !ok { if !ok {
return -1 return -1
} }
native, ok := device.net.bind.(NativeBind) native, ok := device.net.bind.(*NativeBind)
if !ok { if !ok {
return -1 return -1
} }
@@ -121,7 +121,7 @@ func wgGetSocketV6(tunnelHandle int32) int32 {
if !ok { if !ok {
return -1 return -1
} }
native, ok := device.net.bind.(NativeBind) native, ok := device.net.bind.(*NativeBind)
if !ok { if !ok {
return -1 return -1
} }