]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2580. [bug] UpdateRej statistics counter could be incremented twice
authorTatuya JINMEI 神明達哉 <jinmei@isc.org>
Wed, 18 Mar 2009 22:17:24 +0000 (22:17 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Wed, 18 Mar 2009 22:17:24 +0000 (22:17 +0000)
for one rejection. [RT #19476]

CHANGES
bin/named/update.c

diff --git a/CHANGES b/CHANGES
index eaac2ef29dc6b2183809a2aa84db7d90966946f2..92f58b6194128baff9ea79d735a710d64f317acb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2580.  [bug]           UpdateRej statistics counter could be incremented twice
+                       for one rejection. [RT #19476]
+
 2579.  [bug]           DNSSEC lookaside validation failed to handle unknown
                        algorithms. [RT #19479]
 
index f5aa6f50e289e31074c3c9182b540cfa85d404e8..50268e973758bb830d90ce098c58e2cc6c0bf80e 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.155 2009/01/27 22:29:58 jinmei Exp $ */
+/* $Id: update.c,v 1.156 2009/03/18 22:17:24 jinmei Exp $ */
 
 #include <config.h>
 
@@ -4126,9 +4126,6 @@ update_action(isc_task_t *task, isc_event_t *event) {
        goto common;
 
  failure:
-       if (result == DNS_R_REFUSED)
-               inc_stats(zone, dns_nsstatscounter_updaterej);
-
        /*
         * The reason for failure should have been logged at this point.
         */