diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-21 10:29:25 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-21 10:29:25 +0000 |
commit | f08d9fc3a07947c70f6fb91661e897ffd111c3f8 (patch) | |
tree | 46fc8ae89ee6d749858f324aa64ca7e3ffdd5b26 /main/tcptls.c | |
parent | d8f145caaaddd6ea1d4069f11567a643889072bb (diff) |
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)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@169622 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/tcptls.c')
-rw-r--r-- | main/tcptls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tcptls.c b/main/tcptls.c index d0d8f6c03..0b58dc1f5 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -383,7 +383,7 @@ struct ast_tcptls_session_instance *ast_tcptls_client_start(struct ast_tcptls_se 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; |