mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-03 14:55:47 +00:00
ipn/ipnlocal: update hostinfo when app connector state is toggled
Updates: https://github.com/tailscale/corp/issues/16041 Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
parent
6e30c9d1fe
commit
8a660a6513
@ -3993,6 +3993,7 @@ func (b *LocalBackend) applyPrefsToHostinfoLocked(hi *tailcfg.Hostinfo, prefs ip
|
|||||||
// properly. This exists as an optimization to control to program fewer DNS
|
// properly. This exists as an optimization to control to program fewer DNS
|
||||||
// records that have ingress enabled but are not actually being used.
|
// records that have ingress enabled but are not actually being used.
|
||||||
hi.WireIngress = b.wantIngressLocked()
|
hi.WireIngress = b.wantIngressLocked()
|
||||||
|
hi.AppConnector.Set(prefs.AppConnector().Advertise)
|
||||||
}
|
}
|
||||||
|
|
||||||
// enterState transitions the backend into newState, updating internal
|
// enterState transitions the backend into newState, updating internal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user