mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
0 -> dns_rdatatype_none
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: xfrin.c,v 1.165 2008/09/25 03:49:55 marka Exp $ */
|
/* $Id: xfrin.c,v 1.166 2008/09/25 04:12:39 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -433,7 +433,8 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl,
|
|||||||
|
|
||||||
xfr->nrecs++;
|
xfr->nrecs++;
|
||||||
|
|
||||||
if (rdata->type == 0 || dns_rdatatype_ismeta(rdata->type))
|
if (rdata->type == dns_rdatatype_none ||
|
||||||
|
dns_rdatatype_ismeta(rdata->type))
|
||||||
FAIL(DNS_R_FORMERR);
|
FAIL(DNS_R_FORMERR);
|
||||||
|
|
||||||
redo:
|
redo:
|
||||||
|
Reference in New Issue
Block a user