]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add() assumed dns_trust_authsecure is the highest trust level,
authorAndreas Gustafsson <source@isc.org>
Tue, 25 Jul 2000 01:06:01 +0000 (01:06 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 25 Jul 2000 01:06:01 +0000 (01:06 +0000)
but this is no longer the case.  Thus, the DNS_DBADD_FORCE option did not take effect
if the existing data was at level dns_trust_ultimate.  Since the DNS_DBADD_FORCE
option is currently used only with cached data, no actual harm has been done.

lib/dns/rbtdb.c

index abbe357abc1049070920b958a00dffdbc3f510ec..a82eb6b64a33f9c35b1e77ca28b8f149add457bc 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: rbtdb.c,v 1.109 2000/07/04 04:28:44 marka Exp $ */
+/* $Id: rbtdb.c,v 1.110 2000/07/25 01:06:01 gson Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -3062,7 +3062,7 @@ add(dns_rbtdb_t *rbtdb, dns_rbtnode_t *rbtnode, rbtdb_version_t *rbtversion,
                merge = ISC_FALSE;
 
        if ((options & DNS_DBADD_FORCE) != 0)
-               trust = dns_trust_authsecure;
+               trust = dns_trust_ultimate;
        else
                trust = newheader->trust;