From d528f7791ddd87cbae618400995f47cb29e172be Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 27 Jun 2007 16:34:24 +0000 Subject: [PATCH] Only output debug information related to RTCP timestamps when RTCP debug is turned on (issue #10066, patch by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72112 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/rtp.c b/main/rtp.c index 8fd056250e..4b55a25173 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",