@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
Submodule app/tools/wireguard-go updated: 0715bdf353...b34604245e
Reference in New Issue
Block a user