mirror of
https://github.com/tailscale/tailscale.git
synced 2025-05-07 16:16:54 +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.cc = cc
|
||||||
b.ccAuto, _ = cc.(*controlclient.Auto)
|
b.ccAuto, _ = cc.(*controlclient.Auto)
|
||||||
endpoints := b.endpoints
|
endpoints := b.endpoints
|
||||||
|
|
||||||
|
if err := b.initTKALocked(); err != nil {
|
||||||
|
b.logf("initTKALocked: %v", err)
|
||||||
|
}
|
||||||
var tkaHead string
|
var tkaHead string
|
||||||
if b.tka != nil {
|
if b.tka != nil {
|
||||||
head, err := b.tka.authority.Head().MarshalText()
|
head, err := b.tka.authority.Head().MarshalText()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user