Latest go changes

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2018-04-27 05:43:07 +02:00
parent 31101f2418
commit 254cc4cc87
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
}