control/controlclient: send warning flag in map request when IP forwarding off

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-11-04 13:48:50 -08:00
committed by Dave Anderson
parent 4f4e84236a
commit 782e07c0ae
2 changed files with 42 additions and 0 deletions

View File

@@ -522,6 +522,12 @@ type MapRequest struct {
// added and removed all the time during development, and offer no
// compatibility promise. To roll out semantic changes, bump
// Version instead.
//
// Current DebugFlags values are:
// * "warn-ip-forwarding-off": client is trying to be a subnet
// router but their IP forwarding is broken.
// * "v6-overlay": IPv6 development flag to have control send
// v6 node addrs
DebugFlags []string `json:",omitempty"`
}