]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unused maxquerycount
authorMatthijs Mekking <matthijs@isc.org>
Fri, 6 Dec 2024 10:19:18 +0000 (11:19 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 6 Dec 2024 10:19:18 +0000 (11:19 +0100)
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

index af402c1b95b04baa2ee434bb53d0827e59a27d4c..a18f1d4c6511892380fb4eccfd9cd5ae9666f8fe 100644 (file)
@@ -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;