aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-15 00:15:38 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-15 00:15:38 +0000
commit651d90dae64a69f5a62664a39622bece24ca7b66 (patch)
tree1b0aabd973659ad0d720619ade41a6ec8ec9dda1 /main/rtp.c
parent12c5c160998df56c6c302381423a2e03f8b3beca (diff)
Merged revisions 47639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47639 | file | 2006-11-14 19:14:07 -0500 (Tue, 14 Nov 2006) | 2 lines Turn notice about unknown RTCP packet type into a debug message instead. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47640 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index a51165c68..415327358 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -949,7 +949,8 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
ast_verbose("Received a BYE from %s:%d\n", ast_inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port));
break;
default:
- ast_log(LOG_NOTICE, "Unknown RTCP packet (pt=%d) received from %s:%d\n", pt, ast_inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port));
+ if (option_debug)
+ ast_log(LOG_DEBUG, "Unknown RTCP packet (pt=%d) received from %s:%d\n", pt, ast_inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port));
break;
}
position += (length + 1);