[asterisk-commits] dvossel: branch 1.6.0 r197086 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 27 10:58:28 CDT 2009


Author: dvossel
Date: Wed May 27 10:58:24 2009
New Revision: 197086

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197086
Log:
Fixes merge issue during r196454.


Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=197086&r1=197085&r2=197086
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Wed May 27 10:58:24 2009
@@ -21225,9 +21225,9 @@
 		}
 	}
 
-	if (!peer->socket.type) {
+	if (!peer->default_outbound_transport) {
 		peer->transports  = SIP_TRANSPORT_UDP;
-		peer->socket.type = SIP_TRANSPORT_UDP;
+		peer->default_outbound_transport = SIP_TRANSPORT_UDP;
 	}
 
 	/* The default transport type set during build_peer should only replace the socket.type when...




More information about the asterisk-commits mailing list