[asterisk-commits] russell: branch 1.6.1 r169622 - in /branches/1.6.1: ./ main/tcptls.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 21 04:29:25 CST 2009
Author: russell
Date: Wed Jan 21 04:29:25 2009
New Revision: 169622
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169622
Log:
Merged revisions 169620 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r169620 | russell | 2009-01-21 04:26:07 -0600 (Wed, 21 Jan 2009) | 10 lines
Fix a regression in TCP support.
This patch fixes a problem that caused chan_sip to think that every open TCP session
was to a remote address of 0.0.0.0:0.
(closes issue #14287)
Reported by: jamesgolovich
Patches:
bug-14287.diff.txt uploaded by jamesgolovich (license 176)
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/main/tcptls.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/tcptls.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/main/tcptls.c?view=diff&rev=169622&r1=169621&r2=169622
==============================================================================
--- branches/1.6.1/main/tcptls.c (original)
+++ branches/1.6.1/main/tcptls.c Wed Jan 21 04:29:25 2009
@@ -383,7 +383,7 @@
tcptls_session->fd = desc->accept_fd;
tcptls_session->parent = desc;
tcptls_session->parent->worker_fn = NULL;
- memcpy(&tcptls_session->remote_address, &desc->local_address, sizeof(tcptls_session->remote_address));
+ memcpy(&tcptls_session->remote_address, &desc->remote_address, sizeof(tcptls_session->remote_address));
tcptls_session->client = 1;
More information about the asterisk-commits
mailing list