apply #69 to just committed also-notify

This commit is contained in:
Mark Andrews
2000-04-21 02:17:55 +00:00
parent 3e8a8028a4
commit 4035d33250
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;