From 866ad4cd51536ce7b85ea3143d86f97a248bf946 Mon Sep 17 00:00:00 2001 From: russell Date: Wed, 27 Jun 2007 16:34:24 +0000 Subject: 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 --- main/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3