ipn/ipnlocal: call initTKALocked on backend start
Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user