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:
parent
4038ab5503
commit
b101c1e998
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
|||||||
|
1822. [bug] check-names test for RT was reversed. [RT #13382]
|
||||||
|
|
||||||
1821. [placeholder]
|
1821. [placeholder]
|
||||||
|
|
||||||
1820. [placeholder] rt13659
|
1820. [placeholder] rt13659
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/* reviewed: Thu Mar 16 15:02:31 PST 2000 by brister */
|
||||||
|
|
||||||
@ -300,7 +300,7 @@ checknames_rt(ARGS_CHECKNAMES) {
|
|||||||
isc_region_consume(®ion, 2);
|
isc_region_consume(®ion, 2);
|
||||||
dns_name_init(&name, NULL);
|
dns_name_init(&name, NULL);
|
||||||
dns_name_fromregion(&name, ®ion);
|
dns_name_fromregion(&name, ®ion);
|
||||||
if (dns_name_ishostname(&name, ISC_FALSE)) {
|
if (!dns_name_ishostname(&name, ISC_FALSE)) {
|
||||||
if (bad != NULL)
|
if (bad != NULL)
|
||||||
dns_name_clone(&name, bad);
|
dns_name_clone(&name, bad);
|
||||||
return (ISC_FALSE);
|
return (ISC_FALSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user