From 75a4ad08291c9424d04eaaf7da581c9b0c4a37dd Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 25 Sep 2008 04:12:39 +0000 Subject: [PATCH] 0 -> dns_rdatatype_none --- lib/dns/xfrin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/xfrin.c b/lib/dns/xfrin.c index 140a3eefc1..4e3d2c36f1 100644 --- a/lib/dns/xfrin.c +++ b/lib/dns/xfrin.c @@ -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: