[asterisk-commits] mmichelson: branch 1.6.2 r265088 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 21 15:38:48 CDT 2010


Author: mmichelson
Date: Fri May 21 15:38:46 2010
New Revision: 265088

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265088
Log:
Merged revisions 265087 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r265087 | mmichelson | 2010-05-21 15:38:14 -0500 (Fri, 21 May 2010) | 7 lines
  
  Be sure to set the sin_family on the proxy when allocating.
  
  (closes issue #17157)
  Reported by: stuarth
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

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

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=265088&r1=265087&r2=265088
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Fri May 21 15:38:46 2010
@@ -3333,6 +3333,7 @@
 	proxy->force = force;
 	ast_copy_string(proxy->name, name, sizeof(proxy->name));
 	proxy->ip.sin_port = htons(port_str2int(port, STANDARD_SIP_PORT));
+	proxy->ip.sin_family = AF_INET;
 	proxy_update(proxy);
 	return proxy;
 }




More information about the asterisk-commits mailing list