From: Matthijs Mekking Date: Fri, 6 Dec 2024 10:19:18 +0000 (+0100) Subject: Remove unused maxquerycount X-Git-Tag: v9.21.4~49^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397ca34e3455a8332b4c1651032c5a7b3297cbfc;p=thirdparty%2Fbind9.git 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. --- diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index af402c1b95b..a18f1d4c651 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -567,7 +567,6 @@ struct dns_resolver { unsigned int query_timeout; unsigned int maxdepth; unsigned int maxqueries; - unsigned int maxquerycount; isc_result_t quotaresp[2]; isc_stats_t *stats; dns_stats_t *querystats;