Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
fc7043d7
Commit
fc7043d7
authored
Jan 22, 2008
by
Evan Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used incorrect address family for mapped IPv4 addresses in acl.c. [RT #17519]
parent
cef715b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGES
CHANGES
+3
-0
lib/dns/acl.c
lib/dns/acl.c
+2
-2
No files found.
CHANGES
View file @
fc7043d7
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]
...
...
lib/dns/acl.c
View file @
fc7043d7
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acl.c,v 1.4
2
2008/01/2
1 23:46:56 tbox
Exp $ */
/* $Id: acl.c,v 1.4
3
2008/01/2
2 05:37:49 each
Exp $ */
/*! \file */
...
...
@@ -208,7 +208,7 @@ dns_acl_match(const isc_netaddr_t *reqaddr,
}
/* Always match with host addresses. */
family
=
req
addr
->
family
;
family
=
addr
->
family
;
bitlen
=
family
==
AF_INET6
?
128
:
32
;
NETADDR_TO_PREFIX_T
(
addr
,
pfx
,
bitlen
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment