]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: dev: Don't skip the counting if fcount_incr() is called with force==true
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 09:40:33 +0000 (09:40 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 09:40:33 +0000 (09:40 +0000)
The fcount_incr() was incorrectly skipping the accounting for the fetches-per-zone if the force argument was set to true. We want to skip the accounting only when the fetches-per-zone is completely disabled, but for individual names we need to do the accounting even if we are forcing the result to be success.

Backport of https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/9115

Merge branch 'backport-4786-forced-fcount_incr-should-still-increment-count-and-allowed-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9241


Trivial merge