mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
0 -> dns_rdatatype_none
This commit is contained in:
parent
3398334b3a
commit
75a4ad0829
1 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* 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 */
|
||||
|
||||
|
|
@ -433,7 +433,8 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl,
|
|||
|
||||
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);
|
||||
|
||||
redo:
|
||||
|
|
|
|||
Loading…
Reference in a new issue