[svn-commits] dvossel: branch 1.6.1 r197087 - /branches/1.6.1/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 27 11:00:03 CDT 2009


Author: dvossel
Date: Wed May 27 10:59:59 2009
New Revision: 197087

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197087
Log:
Fixes merge issue for r196453.


Modified:
    branches/1.6.1/channels/chan_sip.c

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=197087&r1=197086&r2=197087
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Wed May 27 10:59:59 2009
@@ -22068,9 +22068,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 svn-commits mailing list