tailscale, tailscaled: update safesocket port number.

This makes them able to connect to each other on Windows.
This commit is contained in:
Avery Pennarun 2020-03-11 21:00:25 -04:00
parent 72d9e1d633
commit 509247bf42
2 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,7 @@ func runUp(ctx context.Context, args []string) error {
prefs.UsePacketFilter = !upArgs.noPacketFilter
prefs.AdvertiseRoutes = adv
c, err := safesocket.Connect(upArgs.socket, 0)
c, err := safesocket.Connect(upArgs.socket, 41112)
if err != nil {
log.Fatalf("safesocket.Connect: %v\n", err)
}

View File

@ -79,6 +79,7 @@ func main() {
opts := ipnserver.Options{
SocketPath: *socketpath,
Port: 41112,
StatePath: *statepath,
AutostartStateKey: globalStateKey,
LegacyConfigPath: paths.LegacyConfigPath,