From 4035d3325043d565ab78cff562bc365c4bc46da2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 21 Apr 2000 02:17:55 +0000 Subject: [PATCH] apply #69 to just committed also-notify --- bin/named/zoneconf.c | 4 ++-- lib/dns/zoneconf.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index 315c7fdea0..76cac97d2b 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -345,6 +345,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, boolean = ISC_TRUE; dns_zone_setoption(zone, DNS_ZONE_O_NOTIFY, boolean); + dns_zone_clearnotify(zone); result = dns_c_zone_getalsonotify(czone, &iplist); if (result == ISC_R_SUCCESS) { for (i = 0; i < iplist->nextidx; i++) { @@ -353,8 +354,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, if (result != ISC_R_SUCCESS) return (result); } - } else - dns_zone_clearnotify(zone); + } break; diff --git a/lib/dns/zoneconf.c b/lib/dns/zoneconf.c index 315c7fdea0..76cac97d2b 100644 --- a/lib/dns/zoneconf.c +++ b/lib/dns/zoneconf.c @@ -345,6 +345,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, boolean = ISC_TRUE; dns_zone_setoption(zone, DNS_ZONE_O_NOTIFY, boolean); + dns_zone_clearnotify(zone); result = dns_c_zone_getalsonotify(czone, &iplist); if (result == ISC_R_SUCCESS) { for (i = 0; i < iplist->nextidx; i++) { @@ -353,8 +354,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, if (result != ISC_R_SUCCESS) return (result); } - } else - dns_zone_clearnotify(zone); + } break;