From d00341360f12d6c5d23f563ce3cc21a31a978386 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 31 Aug 2021 21:43:57 -0700 Subject: [PATCH] wgengine/magicsock: remove unused debug knob. Signed-off-by: David Anderson --- wgengine/magicsock/debugknobs.go | 3 --- wgengine/magicsock/debugknobs_ios.go | 1 - 2 files changed, 4 deletions(-) diff --git a/wgengine/magicsock/debugknobs.go b/wgengine/magicsock/debugknobs.go index 1476b28f4..081144767 100644 --- a/wgengine/magicsock/debugknobs.go +++ b/wgengine/magicsock/debugknobs.go @@ -15,9 +15,6 @@ // Various debugging and experimental tweakables, set by environment // variable. 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 // they happen. debugDisco, _ = strconv.ParseBool(os.Getenv("TS_DEBUG_DISCO")) diff --git a/wgengine/magicsock/debugknobs_ios.go b/wgengine/magicsock/debugknobs_ios.go index 1ebad76b3..677d8ed5b 100644 --- a/wgengine/magicsock/debugknobs_ios.go +++ b/wgengine/magicsock/debugknobs_ios.go @@ -7,7 +7,6 @@ // All knobs are disabled on iOS. // Further, they're const, so the toolchain can produce smaller binaries. const ( - logPacketDests = false debugDisco = false debugOmitLocalAddresses = false debugUseDerpRouteEnv = ""