mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
ipn: use LogServer pref
Signed-off-by: Christine Dodrill <xe@tailscale.com>
This commit is contained in:
parent
15784dd123
commit
85605128fb
@ -429,6 +429,10 @@ func (b *LocalBackend) Start(opts Options) error {
|
||||
return fmt.Errorf("loading requested state: %v", err)
|
||||
}
|
||||
|
||||
if b.prefs.LogServer == "" {
|
||||
b.prefs.LogServer = "https://log.tailscale.io"
|
||||
}
|
||||
os.Setenv("TAILSCALE_LOG_TARGET", b.prefs.LogServer)
|
||||
b.inServerMode = b.prefs.ForceDaemon
|
||||
b.serverURL = b.prefs.ControlURL
|
||||
hostinfo.RoutableIPs = append(hostinfo.RoutableIPs, b.prefs.AdvertiseRoutes...)
|
||||
|
Loading…
Reference in New Issue
Block a user