From: Mark Andrews Date: Tue, 12 Oct 2004 21:57:57 +0000 (+0000) Subject: 1741. [bug] Deleting all records at a node in a secure zone X-Git-Tag: v9.2.5rc1~28^2~89 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6cdae8730d5a287c30987516c6f99962d4e8e6be;p=thirdparty%2Fbind9.git 1741. [bug] Deleting all records at a node in a secure zone using a update-policy grant failed. [RT #12787] --- diff --git a/CHANGES b/CHANGES index 6823e7f41c8..666d2c6a259 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1741. [bug] Deleting all records at a node in a secure zone + using a update-policy grant failed. [RT #12787] + 1740. [placeholder] rt12729 1739. [bug] dns_rbt_deletetree() could incorrectly return diff --git a/bin/named/update.c b/bin/named/update.c index 6c87b2bd13b..f249fc846f6 100644 --- a/bin/named/update.c +++ b/bin/named/update.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: update.c,v 1.116 2004/07/23 02:57:27 marka Exp $ */ +/* $Id: update.c,v 1.117 2004/10/12 21:57:57 marka Exp $ */ #include @@ -708,7 +708,7 @@ ssu_checkrule(void *data, dns_rdataset_t *rrset) { */ if (rrset->type == dns_rdatatype_rrsig || rrset->type == dns_rdatatype_nsec) - return (ISC_TRUE); + return (ISC_R_SUCCESS); result = dns_ssutable_checkrules(ssuinfo->table, ssuinfo->signer, ssuinfo->name, rrset->type); return (result == ISC_TRUE ? ISC_R_SUCCESS : ISC_R_FAILURE);