[svn-commits] mmichelson: branch mmichelson/acl-v6 r276255 - /team/mmichelson/acl-v6/main/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jul 13 18:12:23 CDT 2010
Author: mmichelson
Date: Tue Jul 13 18:12:12 2010
New Revision: 276255
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276255
Log:
Use correct variable when applying netmask.
All current tests in the "acl" test now pass. Next step is to
add some new tests.
Modified:
team/mmichelson/acl-v6/main/acl.c
Modified: team/mmichelson/acl-v6/main/acl.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/acl-v6/main/acl.c?view=diff&rev=276255&r1=276254&r2=276255
==============================================================================
--- team/mmichelson/acl-v6/main/acl.c (original)
+++ team/mmichelson/acl-v6/main/acl.c Tue Jul 13 18:12:12 2010
@@ -340,7 +340,7 @@
struct ast_sockaddr *result)
{
struct sockaddr_in6 *addr6;
- struct sockaddr_in6 *mask6 = (struct sockaddr_in6 *) &addr->ss;
+ struct sockaddr_in6 *mask6 = (struct sockaddr_in6 *) &netmask->ss;
struct sockaddr_in6 result6;
int i;
More information about the svn-commits
mailing list