[asterisk-commits] lmadsen: trunk r258934 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Apr 26 10:59:40 CDT 2010
Author: lmadsen
Date: Mon Apr 26 10:59:34 2010
New Revision: 258934
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=258934
Log:
Small error in the T.140 RTP port verbose log.
(closes issue #16988)
Reported by: frawd
Patches:
chan_sip_sdp_verbose_fix.diff uploaded by frawd (license 610)
Tested by: russell
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=258934&r1=258933&r2=258934
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Apr 26 10:59:34 2010
@@ -7992,7 +7992,7 @@
memcpy(&tsin.sin_addr, thp->h_addr, sizeof(tsin.sin_addr));
ast_rtp_instance_set_remote_address(p->trtp, &tsin);
if (debug)
- ast_verbose("Peer T.140 RTP is at port %s:%d\n", ast_inet_ntoa(vsin.sin_addr), ntohs(vsin.sin_port));
+ ast_verbose("Peer T.140 RTP is at port %s:%d\n", ast_inet_ntoa(tsin.sin_addr), ntohs(tsin.sin_port));
if ((p->jointcapability & AST_FORMAT_T140RED)) {
p->red = 1;
ast_rtp_red_init(p->trtp, 300, red_data_pt, 2);
@@ -8021,7 +8021,7 @@
}
}
} else {
- memcpy(&isin.sin_addr, ihp->h_addr, sizeof(sin.sin_addr));
+ memcpy(&isin.sin_addr, ihp->h_addr, sizeof(isin.sin_addr));
}
ast_udptl_set_peer(p->udptl, &isin);
if (debug)
More information about the asterisk-commits
mailing list