mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 17:49:02 +00:00
Commit untested Windows code
TODO: get access to a Windows machine / VM and test Signed-off-by: Harry Harpham <harry@tailscale.com>
This commit is contained in:
@@ -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