[asterisk-commits] tilghman: branch 1.4 r127501 - /branches/1.4/main/acl.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 2 14:47:15 CDT 2008
Author: tilghman
Date: Wed Jul 2 14:47:15 2008
New Revision: 127501
URL: http://svn.digium.com/view/asterisk?view=rev&rev=127501
Log:
Merged revisions 127466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r127466 | tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines
Solaris fix
(closes issue #12949)
Reported by: snuffy
Patches:
bug_12949.diff uploaded by snuffy (license 35)
........
Modified:
branches/1.4/main/acl.c
Modified: branches/1.4/main/acl.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/acl.c?view=diff&rev=127501&r1=127500&r2=127501
==============================================================================
--- branches/1.4/main/acl.c (original)
+++ branches/1.4/main/acl.c Wed Jul 2 14:47:15 2008
@@ -225,7 +225,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