mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +00:00
ipn/ipnlocal: fix E.G.G. port number accounting
Change-Id: Id35461fdde79448372271ba54f6e6af586f2304d Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
37da617380
commit
9475801ebe
@ -501,7 +501,7 @@ func runUp(ctx context.Context, args []string) (retErr error) {
|
|||||||
fatalf("%s", err)
|
fatalf("%s", err)
|
||||||
}
|
}
|
||||||
if justEditMP != nil {
|
if justEditMP != nil {
|
||||||
justEditMP.EggSet = true
|
justEditMP.EggSet = egg
|
||||||
_, err := localClient.EditPrefs(ctx, justEditMP)
|
_, err := localClient.EditPrefs(ctx, justEditMP)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -2347,7 +2347,7 @@ func (b *LocalBackend) doSetHostinfoFilterServices(hi *tailcfg.Hostinfo) {
|
|||||||
}
|
}
|
||||||
peerAPIServices := b.peerAPIServicesLocked()
|
peerAPIServices := b.peerAPIServicesLocked()
|
||||||
if b.egg {
|
if b.egg {
|
||||||
peerAPIServices = append(peerAPIServices, tailcfg.Service{Proto: "egg"})
|
peerAPIServices = append(peerAPIServices, tailcfg.Service{Proto: "egg", Port: 1})
|
||||||
}
|
}
|
||||||
b.mu.Unlock()
|
b.mu.Unlock()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user