[asterisk-commits] simon.perreault: branch group/v6-new r273185 - /team/group/v6-new/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 30 08:29:48 CDT 2010


Author: simon.perreault
Date: Wed Jun 30 08:29:44 2010
New Revision: 273185

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273185
Log:
Restored correct setting of udptldest port from udptlsin.

Modified:
    team/group/v6-new/channels/chan_sip.c

Modified: team/group/v6-new/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/channels/chan_sip.c?view=diff&rev=273185&r1=273184&r2=273185
==============================================================================
--- team/group/v6-new/channels/chan_sip.c (original)
+++ team/group/v6-new/channels/chan_sip.c Wed Jun 30 08:29:44 2010
@@ -10239,7 +10239,8 @@
 			udptldest.sin_port = p->udptlredirip.sin_port;
 			udptldest.sin_addr = p->udptlredirip.sin_addr;
 		} else {
-			ast_sockaddr_to_sin(&p->ourip,&udptldest);
+			ast_sockaddr_to_sin(&p->ourip, &udptldest);
+			udptldest.sin_port = udptlsin.sin_port;
 		}
 
 		if (debug) {




More information about the asterisk-commits mailing list