From 068ff32ccdfa36a68a66bf2a3961f3fe8f21ed80 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Thu, 15 Jul 2021 16:55:56 -0700 Subject: [PATCH] temporarily disable filter logging to get rid of time.Now calls as I experiment --- wgengine/filter/filter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/wgengine/filter/filter.go b/wgengine/filter/filter.go index e502502c3..9f4663e7e 100644 --- a/wgengine/filter/filter.go +++ b/wgengine/filter/filter.go @@ -232,6 +232,7 @@ func init() { } func (f *Filter) logRateLimit(runflags RunFlags, q *packet.Parsed, dir direction, r Response, why string) { + return if !f.loggingAllowed(q) { return }