diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2020-07-30 11:21:37 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@tailscale.com> | 2020-07-30 11:21:37 -0700 |
| commit | 7cc8fcb784398d4ac5dffad37b46cac71df50c1b (patch) | |
| tree | 611ec35c772e2cc0fb4832b76eca852538cfa596 | |
| parent | b4d97d2532b927b38d1ba4fa7bdb9d8c498a4c5e (diff) | |
| download | tailscale-7cc8fcb784398d4ac5dffad37b46cac71df50c1b.tar.xz tailscale-7cc8fcb784398d4ac5dffad37b46cac71df50c1b.zip | |
wgengine/filter: remove leftover debug knob that staticcheck doesn't like
| -rw-r--r-- | wgengine/filter/filter.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/wgengine/filter/filter.go b/wgengine/filter/filter.go index 43377d564..d9d721baf 100644 --- a/wgengine/filter/filter.go +++ b/wgengine/filter/filter.go @@ -7,8 +7,6 @@ package filter import ( "fmt" - "os" - "strconv" "sync" "time" @@ -316,8 +314,6 @@ const ( ipv6AllMLDv2CapableRouters = "\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x16" ) -var debugLogDroppedPackets, _ = strconv.ParseBool(os.Getenv("TS_DEBUG_LOG_DROPPED_PACKETS")) - // omitDropLogging reports whether packet p, which has already been // deemded a packet to Drop, should bypass the [rate-limited] logging. // We don't want to log scary & spammy reject warnings for packets that |
