mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
ipn/ipnlocal: call initTKALocked on backend start
Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user