[asterisk-commits] tilghman: branch 1.6.0 r127467 - in /branches/1.6.0: ./ main/acl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 2 13:31:58 CDT 2008


Author: tilghman
Date: Wed Jul  2 13:31:58 2008
New Revision: 127467

URL: http://svn.digium.com/view/asterisk?view=rev&rev=127467
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.6.0/   (props changed)
    branches/1.6.0/main/acl.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/main/acl.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/main/acl.c?view=diff&rev=127467&r1=127466&r2=127467
==============================================================================
--- branches/1.6.0/main/acl.c (original)
+++ branches/1.6.0/main/acl.c Wed Jul  2 13:31:58 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