From: Mark Andrews Date: Mon, 3 Nov 2003 23:40:24 +0000 (+0000) Subject: 1529. [bug] "notify explict;" failed to log that NOTIFY messages X-Git-Tag: v9.2.4rc1~111^2~10 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2eb9c4150491acfb429d67de1fddd8722d83553e;p=thirdparty%2Fbind9.git 1529. [bug] "notify explict;" failed to log that NOTIFY messages were being sent for the zone. [RT# 9442] --- diff --git a/CHANGES b/CHANGES index afc8d0372b5..c2832e2f605 100644 --- 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. diff --git a/lib/dns/zone.c b/lib/dns/zone.c index b21907f5580..f892ad8afd5 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -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 @@ -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);