diff --git a/CHANGES b/CHANGES index 6ce3f82308..9188b26b1f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1822. [bug] check-names test for RT was reversed. [RT #13382] + 1821. [placeholder] 1820. [placeholder] rt13659 diff --git a/lib/dns/rdata/generic/rt_21.c b/lib/dns/rdata/generic/rt_21.c index 05b250471b..2f334056ec 100644 --- a/lib/dns/rdata/generic/rt_21.c +++ b/lib/dns/rdata/generic/rt_21.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rt_21.c,v 1.41 2004/03/05 05:10:17 marka Exp $ */ +/* $Id: rt_21.c,v 1.42 2005/03/14 23:41:29 marka Exp $ */ /* reviewed: Thu Mar 16 15:02:31 PST 2000 by brister */ @@ -300,7 +300,7 @@ checknames_rt(ARGS_CHECKNAMES) { isc_region_consume(®ion, 2); dns_name_init(&name, NULL); dns_name_fromregion(&name, ®ion); - if (dns_name_ishostname(&name, ISC_FALSE)) { + if (!dns_name_ishostname(&name, ISC_FALSE)) { if (bad != NULL) dns_name_clone(&name, bad); return (ISC_FALSE);