[asterisk-commits] mmichelson: trunk r265087 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 21 15:38:17 CDT 2010
Author: mmichelson
Date: Fri May 21 15:38:14 2010
New Revision: 265087
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265087
Log:
Be sure to set the sin_family on the proxy when allocating.
(closes issue #17157)
Reported by: stuarth
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=265087&r1=265086&r2=265087
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri May 21 15:38:14 2010
@@ -2879,6 +2879,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