mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-07 08:07:42 +00:00
wgengine/magicsock: remove unused debug knob.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
dfd978f0f2
commit
d00341360f
@ -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"))
|
||||||
|
@ -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 = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user