2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

2219. [bug] Apply zone consistancy checks to additions, not

removals, when updating. [RT #17097]
This commit is contained in:
Mark Andrews 2007-08-28 00:05:06 +00:00
parent 981fd9903a
commit d91df50b67
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2219. [bug] Apply zone consistancy checks to additions, not
removals, when updating. [RT #17097]
2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
[RT #16976]

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: update.c,v 1.136 2007/08/27 04:31:42 marka Exp $ */
/* $Id: update.c,v 1.137 2007/08/28 00:05:06 marka Exp $ */
#include <config.h>
@ -2187,7 +2187,7 @@ remove_orphaned_ds(dns_db_t *db, dns_dbversion_t *newver, dns_diff_t *diff) {
for (t = ISC_LIST_HEAD(diff->tuples);
t != NULL;
t = ISC_LIST_NEXT(t, link)) {
if (t->op != DNS_DIFFOP_DEL ||
if (t->op != DNS_DIFFOP_ADD ||
t->rdata.type != dns_rdatatype_ns)
continue;
CHECK(rrset_exists(db, newver, &t->name, dns_rdatatype_ns, 0,
@ -2238,7 +2238,7 @@ check_mx(ns_client_t *client, dns_zone_t *zone,
for (t = ISC_LIST_HEAD(diff->tuples);
t != NULL;
t = ISC_LIST_NEXT(t, link)) {
if (t->op != DNS_DIFFOP_DEL ||
if (t->op != DNS_DIFFOP_ADD ||
t->rdata.type != dns_rdatatype_mx)
continue;