mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-04 15:42:20 -08:00
Commit untested Windows code
TODO: get access to a Windows machine / VM and test Signed-off-by: Harry Harpham <[email protected]>
This commit is contained in:
1 file changed
+6
@@ -58,6 +58,12 @@ func controlC(logf logger.Logf, network, address string, c syscall.RawConn) (err
|
||||
return nil
|
||||
}
|
||||
|
||||
// Unix sockets cannot be bound to an interface.
|
||||
// TODO: is this Unix socket exception necessary on Windows? presumably...
|
||||
if network == "unix" {
|
||||
return nil
|
||||
}
|
||||
|
||||
canV4, canV6 := false, false
|
||||
switch network {
|
||||
case "tcp", "udp":
|
||||
|
||||
Reference in new issue
Block a user