wgengine/magicsock: remove unused debug knob.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2021-08-31 21:43:57 -07:00 committed by Dave Anderson
parent dfd978f0f2
commit d00341360f
2 changed files with 0 additions and 4 deletions

View File

@ -15,9 +15,6 @@
// Various debugging and experimental tweakables, set by environment // Various debugging and experimental tweakables, set by environment
// variable. // variable.
var ( var (
// logPacketDests prints the known addresses for a peer every time
// they change, in the legacy (non-discovery) endpoint code only.
logPacketDests, _ = strconv.ParseBool(os.Getenv("TS_DEBUG_LOG_PACKET_DESTS"))
// debugDisco prints verbose logs of active discovery events as // debugDisco prints verbose logs of active discovery events as
// they happen. // they happen.
debugDisco, _ = strconv.ParseBool(os.Getenv("TS_DEBUG_DISCO")) debugDisco, _ = strconv.ParseBool(os.Getenv("TS_DEBUG_DISCO"))

View File

@ -7,7 +7,6 @@
// All knobs are disabled on iOS. // All knobs are disabled on iOS.
// Further, they're const, so the toolchain can produce smaller binaries. // Further, they're const, so the toolchain can produce smaller binaries.
const ( const (
logPacketDests = false
debugDisco = false debugDisco = false
debugOmitLocalAddresses = false debugOmitLocalAddresses = false
debugUseDerpRouteEnv = "" debugUseDerpRouteEnv = ""