wgengine/magicsock: remove unused debug knob.

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/2773/head
David Anderson 3 years ago committed by Dave Anderson
parent dfd978f0f2
commit d00341360f

@ -15,9 +15,6 @@ import (
// 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"))

@ -7,7 +7,6 @@ package magicsock
// 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 = ""

Loading…
Cancel
Save