diff --git a/lib/dns/xfrin.c b/lib/dns/xfrin.c index 0f72656779..0f435c9335 100644 --- a/lib/dns/xfrin.c +++ b/lib/dns/xfrin.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: xfrin.c,v 1.81 2000/07/03 22:42:36 gson Exp $ */ +/* $Id: xfrin.c,v 1.82 2000/07/05 20:28:34 gson Exp $ */ #include @@ -449,7 +449,8 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl, * If the transfer begins with one SOA record, it is an AXFR, * if it begins with two SOAs, it is an IXFR. */ - if (rdata->type == dns_rdatatype_soa && + if (xfr->reqtype == dns_rdatatype_ixfr && + rdata->type == dns_rdatatype_soa && xfr->ixfr.request_serial == dns_soa_getserial(rdata)) { xfrin_log(xfr, ISC_LOG_DEBUG(3), "got incremental response");