]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
address review comment
authorEvan Hunt <each@isc.org>
Fri, 26 Sep 2008 16:44:49 +0000 (16:44 +0000)
committerEvan Hunt <each@isc.org>
Fri, 26 Sep 2008 16:44:49 +0000 (16:44 +0000)
lib/dns/acl.c

index 767bab41600a9aa268c585aca38ba49c9632b246..edd35f90b7a2cc9db0e7be3018c8199c36a831fe 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: acl.c,v 1.47 2008/09/12 04:54:39 each Exp $ */
+/* $Id: acl.c,v 1.48 2008/09/26 16:44:49 each Exp $ */
 
 /*! \file */
 
@@ -149,6 +149,8 @@ dns_acl_isanyornone(dns_acl_t *acl, isc_boolean_t pos)
 
        if (acl->iptable->radix->head->prefix->bitlen == 0 &&
            acl->iptable->radix->head->data[0] != NULL &&
+           acl->iptable->radix->head->data[0] ==
+                    acl->iptable->radix->head->data[1] &&
            *(isc_boolean_t *) (acl->iptable->radix->head->data[0]) == pos)
                return (ISC_TRUE);