Merged revisions 72112 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 27 Jun 2007 16:38:12 +0000 (16:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 27 Jun 2007 16:38:12 +0000 (16:38 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72112 | russell | 2007-06-27 11:34:24 -0500 (Wed, 27 Jun 2007) | 3 lines

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/trunk@72113 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index ca2b01c..ab55a05 100644 (file)
@@ -1007,7 +1007,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",