control/controlclient, tailcfg: turn active route discovery on by default

Updates #483
This commit is contained in:
Brad Fitzpatrick
2020-07-03 13:55:33 -07:00
parent 3f74859bb0
commit c9089c82e8
2 changed files with 28 additions and 15 deletions
+6
View File
@@ -454,6 +454,12 @@ type MapRequest struct {
IncludeIPv6 bool // include IPv6 endpoints in returned Node Endpoints
Stream bool // if true, multiple MapResponse objects are returned
Hostinfo *Hostinfo
// DebugForceDisco is a temporary flag during the deployment
// of magicsock active discovery. It says that that the client
// has environment variables explicitly turning discovery on,
// so control should not disable it.
DebugForceDisco bool `json:"debugForceDisco,omitempty"`
}
// PortRange represents a range of UDP or TCP port numbers.