diff options
author | Internet Software Consortium, Inc <@isc.org> | 2007-09-07 14:14:09 -0600 |
---|---|---|
committer | LaMont Jones <lamont@debian.org> | 2007-09-07 14:14:09 -0600 |
commit | 2552e838a39811a4a72d58ab5594ba54e4bf5452 (patch) | |
tree | abb45bdac0d6ea03b2435e09cec835d255997114 /lib/dns/zone.c | |
parent | 5cb081d5cd96ab022b6742216b07b4642b7e6f64 (diff) | |
download | bind9-2552e838a39811a4a72d58ab5594ba54e4bf5452.tar.gz |
9.2.0rc7
Diffstat (limited to 'lib/dns/zone.c')
-rw-r--r-- | lib/dns/zone.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/dns/zone.c b/lib/dns/zone.c index f126fe25..6f21c7c4 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.333.2.2 2001/09/05 00:38:01 gson Exp $ */ +/* $Id: zone.c,v 1.333.2.3 2001/10/11 17:20:40 gson Exp $ */ #include <config.h> @@ -2816,10 +2816,8 @@ save_nsrrset(dns_message_t *message, dns_name_t *name, result = dns_rdata_tostruct(&rdata, &ns, NULL); dns_rdata_reset(&rdata); RUNTIME_CHECK(result == ISC_R_SUCCESS); - if (!dns_name_issubdomain(&ns.name, name)) { - result = dns_rdataset_next(nsrdataset); + if (!dns_name_issubdomain(&ns.name, name)) continue; - } rdataset = NULL; result = dns_message_findname(message, DNS_SECTION_ADDITIONAL, &ns.name, dns_rdatatype_a6, |