From 397ca34e3455a8332b4c1651032c5a7b3297cbfc 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. --- lib/dns/resolver.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index af402c1b95..a18f1d4c65 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;