mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 02:21:58 +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
@@ -604,3 +604,7 @@ func (e *userspaceEngine) LinkChange(isExpensive bool) {
|
||||
func (e *userspaceEngine) SetNetInfoCallback(cb NetInfoCallback) {
|
||||
e.magicConn.SetNetInfoCallback(cb)
|
||||
}
|
||||
|
||||
func (e *userspaceEngine) SetDERPEnabled(v bool) {
|
||||
e.magicConn.SetDERPEnabled(v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user