ipn/ipnlocal: call initTKALocked on backend start

Signed-off-by: Tom DNetto <tom@tailscale.com>
will/enforce-hostname
Tom DNetto 2 years ago committed by Tom
parent 1ef4be2f86
commit b45b948776

@ -1287,6 +1287,10 @@ func (b *LocalBackend) Start(opts ipn.Options) error {
b.cc = cc
b.ccAuto, _ = cc.(*controlclient.Auto)
endpoints := b.endpoints
if err := b.initTKALocked(); err != nil {
b.logf("initTKALocked: %v", err)
}
var tkaHead string
if b.tka != nil {
head, err := b.tka.authority.Head().MarshalText()

Loading…
Cancel
Save