From f116a4c44f2fa2430eeb948674d678d1b94f8526 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Fri, 30 Apr 2021 16:27:06 -0700 Subject: [PATCH] types/logger: fix rate limiter allowlist Upstream wireguard-go renamed the interface method from CreateEndpoint to ParseEndpoint. I updated the log call site but not the allowlist. Signed-off-by: Josh Bleecher Snyder --- types/logger/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/logger/logger.go b/types/logger/logger.go index 13809d31e..bb2683395 100644 --- a/types/logger/logger.go +++ b/types/logger/logger.go @@ -66,7 +66,7 @@ var disableRateLimit = os.Getenv("TS_DEBUG_LOG_RATE") == "all" // Things should not be added to this unless they're already limited otherwise. var rateFree = []string{ "magicsock: disco: ", - "magicsock: CreateEndpoint:", + "magicsock: ParseEndpoint:", } // RateLimitedFn is a wrapper for RateLimitedFnWithClock that includes the