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
@ -127,6 +127,10 @@ type Engine interface {
|
||||
// such as mobile data on a phone.
|
||||
LinkChange(isExpensive bool)
|
||||
|
||||
// SetDERPEnabled controls whether DERP is enabled.
|
||||
// It starts enabled by default.
|
||||
SetDERPEnabled(bool)
|
||||
|
||||
// SetNetInfoCallback sets the function to call when a
|
||||
// new NetInfo summary is available.
|
||||
SetNetInfoCallback(NetInfoCallback)
|
||||
|
Reference in New Issue
Block a user