[asterisk-commits] elguero: branch 10 r371251 - /branches/10/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 14 20:43:27 CDT 2012


Author: elguero
Date: Tue Aug 14 20:43:23 2012
New Revision: 371251

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371251
Log:
Reverting this change that was meant for branch 11.

Modified:
    branches/10/channels/chan_sip.c

Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=371251&r1=371250&r2=371251
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Tue Aug 14 20:43:23 2012
@@ -26522,9 +26522,11 @@
 
 	if ((transport == SIP_TRANSPORT_UDP) || !transport) {
 		addr = &bindaddr;
-	} else if (transport == SIP_TRANSPORT_TCP || transport == SIP_TRANSPORT_WS) {
+	}
+	else if (transport == SIP_TRANSPORT_TCP) {
 		addr = &sip_tcp_desc.local_address;
-	} else if (transport == SIP_TRANSPORT_TLS || transport == SIP_TRANSPORT_WSS) {
+	}
+	else if (transport == SIP_TRANSPORT_TLS) {
 		addr = &sip_tls_desc.local_address;
 	}
 




More information about the asterisk-commits mailing list