From b45b94877668666746a5a90176620e6bb6c686c8 Mon Sep 17 00:00:00 2001 From: Tom DNetto Date: Tue, 22 Nov 2022 10:48:07 -0800 Subject: [PATCH] ipn/ipnlocal: call initTKALocked on backend start Signed-off-by: Tom DNetto --- ipn/ipnlocal/local.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index e78af02a5..1012f44ff 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -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()