diff options
author | Mark Spencer <markster@digium.com> | 2005-08-12 18:59:43 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-08-12 18:59:43 +0000 |
commit | 8b7e1054fe5b27b1d927829032a39bc6cb16b144 (patch) | |
tree | 2e161242242f689769d7e0fce1640168232e2fca /rtp.c | |
parent | e65f1c2a95ff4339fe468f2df3c50b4458bd0bb9 (diff) |
Fix accidental RTCP/RTP linkage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -353,8 +353,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp) /* Send to whoever sent to us */ if ((rtp->rtcp->them.sin_addr.s_addr != sin.sin_addr.s_addr) || (rtp->rtcp->them.sin_port != sin.sin_port)) { - memcpy(&rtp->them, &sin, sizeof(rtp->them)); - rtp->rxseqno = 0; + memcpy(&rtp->rtcp->them, &sin, sizeof(rtp->rtcp->them)); if (option_debug) ast_log(LOG_DEBUG, "RTP NAT: Using address %s:%d\n", ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port)); } |