aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-27 16:34:24 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-27 16:34:24 +0000
commit866ad4cd51536ce7b85ea3143d86f97a248bf946 (patch)
tree1be18ccbf77ff0c2bc19918c64c90bf735f8b574 /main/rtp.c
parent1ab0f353692aae1b5cecb762e37d5465b7b63798 (diff)
Only output debug information related to RTCP timestamps when RTCP debug
is turned on (issue #10066, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72112 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index 8fd056250..4b55a2517 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -942,7 +942,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
rtp->rtcp->maxrtt = rttsec;
if (rtp->rtcp->minrtt>rttsec)
rtp->rtcp->minrtt = rttsec;
- } else {
+ } else if (rtcp_debug_test_addr(&sin)) {
ast_verbose("Internal RTCP NTP clock skew detected: "
"lsr=%u, now=%u, dlsr=%u (%d:%03dms), "
"diff=%d\n",