[asterisk-commits] trunk r29850 - in /trunk: ./ channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 23 14:46:27 MST 2006


Author: russell
Date: Tue May 23 16:46:26 2006
New Revision: 29850

URL: http://svn.digium.com/view/asterisk?rev=29850&view=rev
Log:
Merged revisions 29849 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29849 | russell | 2006-05-23 17:44:52 -0400 (Tue, 23 May 2006) | 2 lines

fix the sourceaddress option (issue #7213, alphaque)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=29850&r1=29849&r2=29850&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue May 23 16:46:26 2006
@@ -8239,6 +8239,7 @@
 		int res;
 
 		sin.sin_port = 0;
+		sin.sin_family = AF_INET;
 		res = check_srcaddr((struct sockaddr *) &sin, sizeof(sin));
 		if (res == 0) {
 			/* ip address valid. */



More information about the asterisk-commits mailing list