From 00a5c833e7ba7d5cd119558ead233ff926b29b51 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 12 May 2003 03:58:59 +0000 Subject: [PATCH] 1369. [bug] Adding an NS record as the lexicographically last record in a secure zone didn't work. --- CHANGES | 3 +++ bin/named/update.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 392bb0fb7d..554354e027 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,9 @@ 1370. [bug] dig '+[no]recurse' was incorrectly documented. +1369. [bug] Adding an NS record as the lexicographically last + record in a secure zone didn't work. + 1366. [contrib] queryperf usage was incomplete. Add '-h' for help. 1333. [contrib] queryperf now reports a summary of returned diff --git a/bin/named/update.c b/bin/named/update.c index 48fdac4a71..5d69c3e97e 100644 --- a/bin/named/update.c +++ b/bin/named/update.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: update.c,v 1.88.2.3 2002/02/08 03:57:15 marka Exp $ */ +/* $Id: update.c,v 1.88.2.4 2003/05/12 03:58:59 marka Exp $ */ #include @@ -1247,6 +1247,8 @@ namelist_append_subdomain(dns_db_t *db, dns_name_t *name, dns_diff_t *affected) break; CHECK(namelist_append_name(affected, child)); } + if (result == ISC_R_NOMORE) + result = ISC_R_SUCCESS; failure: if (dbit != NULL) dns_dbiterator_destroy(&dbit);