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 @@ import ( // 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 @@ package magicsock // 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 = ""