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 <josharian@gmail.com>
This commit is contained in:
Josh Bleecher Snyder 2021-04-30 16:27:06 -07:00 committed by Josh Bleecher Snyder
parent be56aa4962
commit f116a4c44f

View File

@ -66,7 +66,7 @@ type limitData struct {
// 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