[asterisk-commits] tilghman: trunk r127466 - /trunk/main/acl.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 2 13:31:11 CDT 2008
Author: tilghman
Date: Wed Jul 2 13:31:11 2008
New Revision: 127466
URL: http://svn.digium.com/view/asterisk?view=rev&rev=127466
Log:
Solaris fix
(closes issue #12949)
Reported by: snuffy
Patches:
bug_12949.diff uploaded by snuffy (license 35)
Modified:
trunk/main/acl.c
Modified: trunk/main/acl.c
URL: http://svn.digium.com/view/asterisk/trunk/main/acl.c?view=diff&rev=127466&r1=127465&r2=127466
==============================================================================
--- trunk/main/acl.c (original)
+++ trunk/main/acl.c Wed Jul 2 13:31:11 2008
@@ -184,7 +184,7 @@
return -1;
}
- for (ifr = (struct lifreq *)buf, x = 0; x < ifn.lifn_count; ifr++, x++) {
+ for (ifr = ifc.lifc_req, x = 0; x < ifn.lifn_count; ifr++, x++) {
sa = (struct sockaddr_in *)&(ifr->lifr_addr);
score_address(sa, &best_addr, &best_score);
res = 0;
More information about the asterisk-commits
mailing list