From 106360491ad40eef9669fd792c35710d6af1dab0 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 26 Sep 2008 16:44:49 +0000 Subject: [PATCH] address review comment --- lib/dns/acl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/acl.c b/lib/dns/acl.c index 767bab4160..edd35f90b7 100644 --- a/lib/dns/acl.c +++ b/lib/dns/acl.c @@ -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);