]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
0 -> dns_rdatatype_none
authorMark Andrews <marka@isc.org>
Thu, 25 Sep 2008 04:12:39 +0000 (04:12 +0000)
committerMark Andrews <marka@isc.org>
Thu, 25 Sep 2008 04:12:39 +0000 (04:12 +0000)
lib/dns/xfrin.c

index 140a3eefc1009e2c373d427cb6d227f2c6ab4bee..4e3d2c36f1f752ba821aaa1137fce86d6311f265 100644 (file)
@@ -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: