From: Andreas Gustafsson Date: Tue, 25 Jul 2000 01:06:01 +0000 (+0000) Subject: add() assumed dns_trust_authsecure is the highest trust level, X-Git-Tag: v9.2.0a1^10~38 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9037893f90d244a7e5c0d6c4cb3578bba68c5424;p=thirdparty%2Fbind9.git add() assumed dns_trust_authsecure is the highest trust level, 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. --- diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index abbe357abc1..a82eb6b64a3 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -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;