]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1529. [bug] "notify explict;" failed to log that NOTIFY messages
authorMark Andrews <marka@isc.org>
Mon, 3 Nov 2003 23:40:24 +0000 (23:40 +0000)
committerMark Andrews <marka@isc.org>
Mon, 3 Nov 2003 23:40:24 +0000 (23:40 +0000)
                        were being sent for the zone. [RT# 9442]

CHANGES
lib/dns/zone.c

diff --git a/CHANGES b/CHANGES
index afc8d0372b5f66a07a4122510a51d589704d8a4d..c2832e2f6056cee40399d0a99cfec03c2881ce0a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
-1529.  [placeholder]
+1529.  [bug]           "notify explict;" failed to log that NOTIFY messages
+                       were being sent for the zone.
 
 1528.  [cleanup]       Simplify some dns_name_ functions based on the
                        deprecation of bitstring labels.
index b21907f55804939e63ed7929b9302c14704bea43..f892ad8afd51d83d0d25aefa1c0048d4af75bb7a 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.400 2003/10/17 03:46:44 marka Exp $ */
+/* $Id: zone.c,v 1.401 2003/11/03 23:40:24 marka Exp $ */
 
 #include <config.h>
 
@@ -2926,6 +2926,12 @@ zone_notify(dns_zone_t *zone) {
                        UNLOCK_ZONE(zone);
                        return;
                }
+               if (!loggednotify) {
+                       notify_log(zone, ISC_LOG_INFO,
+                                  "sending notifies (serial %u)",
+                                  serial);
+                       loggednotify = ISC_TRUE;
+               }
                notify = NULL;
        }
        UNLOCK_ZONE(zone);