]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make rbtdb maintain stale counters
authorMatthijs Mekking <matthijs@isc.org>
Wed, 7 Aug 2019 11:27:59 +0000 (13:27 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 12 Aug 2019 08:42:23 +0000 (10:42 +0200)
commita8b29e051ee510bdb9ccaf33298e8970d2c8b6e2
treee58b0af49812cd647aa128c4af2db9741f7c7628
parent51a3ba45e1508293bd71bfd69272ad81d858d838
Make rbtdb maintain stale counters

When updating the statistics for RRset types, if a header is marked
stale or ancient, the appropriate statistic counters are decremented,
then incremented.

Also fix some out of date comments.

(cherry picked from commit a3af2c57e74c0665afebe2825b300e48f6b9de99)
bin/tests/system/serve-stale/clean.sh
bin/tests/system/serve-stale/ns1/named2.conf.in
bin/tests/system/serve-stale/tests.sh
lib/dns/rbtdb.c