mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 19:10:00 -04:00
treat all responses to AXFR requests as AXFR responses
This commit is contained in:
parent
8681403c16
commit
b7b5dd0d10
1 changed files with 3 additions and 2 deletions
|
|
@ -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 <config.h>
|
||||
|
||||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue