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

index a7959fa3fa3be994b9e27dc03e6a5c26ec61898f..ca2d8570d49e460ee8e43a6b5da870608e905072 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: xfrin.c,v 1.124.2.4.2.27 2008/09/25 03:56:05 marka Exp $ */
+/* $Id: xfrin.c,v 1.124.2.4.2.28 2008/09/25 04:16:12 marka Exp $ */
 
 #include <config.h>
 
@@ -424,7 +424,8 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl,
 {
        isc_result_t result;
 
-       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: