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)
|
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.inServerMode = b.prefs.ForceDaemon
|
||||||
b.serverURL = b.prefs.ControlURL
|
b.serverURL = b.prefs.ControlURL
|
||||||
hostinfo.RoutableIPs = append(hostinfo.RoutableIPs, b.prefs.AdvertiseRoutes...)
|
hostinfo.RoutableIPs = append(hostinfo.RoutableIPs, b.prefs.AdvertiseRoutes...)
|
||||||
|
|
Loading…
Reference in New Issue