2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

1822. [bug] check-names test for RT was reversed. [RT #13382]

This commit is contained in:
Mark Andrews 2005-03-14 23:41:29 +00:00
parent 4038ab5503
commit b101c1e998
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
1822. [bug] check-names test for RT was reversed. [RT #13382]
1821. [placeholder]
1820. [placeholder] rt13659

View File

@ -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(&region, 2);
dns_name_init(&name, NULL);
dns_name_fromregion(&name, &region);
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);