[asterisk-commits] branch 1.2 r29849 - /branches/1.2/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 23 14:44:52 MST 2006


Author: russell
Date: Tue May 23 16:44:52 2006
New Revision: 29849

URL: http://svn.digium.com/view/asterisk?rev=29849&view=rev
Log:
fix the sourceaddress option (issue #7213, alphaque)

Modified:
    branches/1.2/channels/chan_iax2.c

Modified: branches/1.2/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_iax2.c?rev=29849&r1=29848&r2=29849&view=diff
==============================================================================
--- branches/1.2/channels/chan_iax2.c (original)
+++ branches/1.2/channels/chan_iax2.c Tue May 23 16:44:52 2006
@@ -8089,6 +8089,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