From 413ba531f595667a00653d6e57da2d7e0f98a56d Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Fri, 6 Dec 2024 11:19:18 +0100 Subject: [PATCH] Remove unused maxquerycount While implementing the global limit 'max-query-count', initially I thought adding the variable to the resolver structure. But the limit is per client request so it was moved to the view structure (and counter in ns_query structure). However, I forgot to remove the variable from the resolver structure again. This commit fixes that. (cherry picked from commit 397ca34e3455a8332b4c1651032c5a7b3297cbfc) --- lib/dns/resolver.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 332a82118f..bc2d0bd519 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -582,7 +582,6 @@ struct dns_resolver { unsigned int query_timeout; unsigned int maxdepth; unsigned int maxqueries; - unsigned int maxquerycount; isc_result_t quotaresp[2]; /* Additions for serve-stale feature. */