mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-16 03:14:44 +00:00
ipn, wgengine/magicsock: add ipn.Prefs.DisableDERP bool
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
bf704a5218
commit
eac62ec5ff
@@ -167,8 +167,10 @@ func (b *LocalBackend) Start(opts Options) error {
|
||||
b.notify = opts.Notify
|
||||
b.netMapCache = nil
|
||||
persist := b.prefs.Persist
|
||||
wantDERP := !b.prefs.DisableDERP
|
||||
b.mu.Unlock()
|
||||
|
||||
b.e.SetDERPEnabled(wantDERP)
|
||||
b.updateFilter(nil)
|
||||
|
||||
var err error
|
||||
|
Reference in New Issue
Block a user