]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
in deleterdataset(), set the DNS_DBADD_FORCE flag
authorAndreas Gustafsson <source@isc.org>
Tue, 25 Jul 2000 01:19:51 +0000 (01:19 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 25 Jul 2000 01:19:51 +0000 (01:19 +0000)
when adding the deletion rdataset so that rdatasets can be deleted
regardless of their trust level

lib/dns/rbtdb.c

index a82eb6b64a33f9c35b1e77ca28b8f149add457bc..d771d625e3e3ca51a8444699483b6439f59727a8 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: rbtdb.c,v 1.110 2000/07/25 01:06:01 gson Exp $ */
+/* $Id: rbtdb.c,v 1.111 2000/07/25 01:19:51 gson Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -3560,7 +3560,7 @@ deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
 
        LOCK(&rbtdb->node_locks[rbtnode->locknum].lock);
 
-       result = add(rbtdb, rbtnode, rbtversion, newheader, 0,
+       result = add(rbtdb, rbtnode, rbtversion, newheader, DNS_DBADD_FORCE,
                     ISC_FALSE, NULL, 0);
 
        UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock);