mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-20 09:57:31 +00:00
safesocket: remove the now unused WindowsLocalPort
Also drop the port param from safesocket.Listen. #cleanup Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
@@ -11,9 +11,8 @@ import (
|
||||
|
||||
const memName = "Tailscale-IPN"
|
||||
|
||||
func listen(path string, port uint16) (_ net.Listener, gotPort uint16, _ error) {
|
||||
ln, err := memconn.Listen("memu", memName)
|
||||
return ln, 1, err
|
||||
func listen(path string) (net.Listener, error) {
|
||||
return memconn.Listen("memu", memName)
|
||||
}
|
||||
|
||||
func connect(_ *ConnectionStrategy) (net.Conn, error) {
|
||||
|
Reference in New Issue
Block a user