|
|
@ -21,6 +21,7 @@ import (
|
|
|
|
"tailscale.com/types/logger"
|
|
|
|
"tailscale.com/types/logger"
|
|
|
|
"tailscale.com/types/netmap"
|
|
|
|
"tailscale.com/types/netmap"
|
|
|
|
"tailscale.com/types/persist"
|
|
|
|
"tailscale.com/types/persist"
|
|
|
|
|
|
|
|
"tailscale.com/types/ptr"
|
|
|
|
"tailscale.com/types/structs"
|
|
|
|
"tailscale.com/types/structs"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -644,8 +645,7 @@ func (c *Auto) sendStatus(who string, err error, url string, nm *netmap.NetworkM
|
|
|
|
logoutFin = new(empty.Message)
|
|
|
|
logoutFin = new(empty.Message)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if nm != nil && loggedIn && synced {
|
|
|
|
if nm != nil && loggedIn && synced {
|
|
|
|
pp := c.direct.GetPersist()
|
|
|
|
p = ptr.To(c.direct.GetPersist())
|
|
|
|
p = &pp
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// don't send netmap status, as it's misleading when we're
|
|
|
|
// don't send netmap status, as it's misleading when we're
|
|
|
|
// not logged in.
|
|
|
|
// not logged in.
|
|
|
|