Commit fc7043d7 authored by Evan Hunt's avatar Evan Hunt

Used incorrect address family for mapped IPv4 addresses in acl.c. [RT #17519]

parent cef715b6
2315. [bug] Used incorrect address family for mapped IPv4
addresses in acl.c. [RT #17519]
2314. [bug] Uninitialized memory use on error path in
bin/named/lwdnoop.c. [RT #17476]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acl.c,v 1.42 2008/01/21 23:46:56 tbox Exp $ */
/* $Id: acl.c,v 1.43 2008/01/22 05:37:49 each Exp $ */
/*! \file */
......@@ -208,7 +208,7 @@ dns_acl_match(const isc_netaddr_t *reqaddr,
}
/* Always match with host addresses. */
family = reqaddr->family;
family = addr->family;
bitlen = family == AF_INET6 ? 128 : 32;
NETADDR_TO_PREFIX_T(addr, pfx, bitlen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment