]> 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 15:19:01 +0000 (15:19 +0000)
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

index 332a82118ff178026e534ef9b8d995df87da31c8..bc2d0bd519d5940f0449c97189ae38bbe9468dc0 100644 (file)
@@ -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. */