diff --git a/cmd/tailscale/cli/up.go b/cmd/tailscale/cli/up.go index d93058956..071ef79ea 100644 --- a/cmd/tailscale/cli/up.go +++ b/cmd/tailscale/cli/up.go @@ -501,7 +501,7 @@ func runUp(ctx context.Context, args []string) (retErr error) { fatalf("%s", err) } if justEditMP != nil { - justEditMP.EggSet = true + justEditMP.EggSet = egg _, err := localClient.EditPrefs(ctx, justEditMP) return err } diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 407233eb7..e6ac4701f 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -2347,7 +2347,7 @@ func (b *LocalBackend) doSetHostinfoFilterServices(hi *tailcfg.Hostinfo) { } peerAPIServices := b.peerAPIServicesLocked() if b.egg { - peerAPIServices = append(peerAPIServices, tailcfg.Service{Proto: "egg"}) + peerAPIServices = append(peerAPIServices, tailcfg.Service{Proto: "egg", Port: 1}) } b.mu.Unlock()