From: Kevin P. Fleming Date: Tue, 8 Nov 2005 01:44:47 +0000 (+0000) Subject: issue #5595 X-Git-Tag: 1.2.0-rc1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7cdd4cd172aa2b8d9eb98d6bff008128d2c37b;p=thirdparty%2Fasterisk.git issue #5595 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/ChangeLog b/ChangeLog index 65c8d78e70..b49c040989 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-11-07 Kevin P. Fleming + * rtp.c: use unsigned format for debug packet output (issue #5595) + * asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599) * dnsmgr.c: add ability to start a background refresh on demand (issue #5599) diff --git a/rtp.c b/rtp.c index 2893ceff3d..75979d8215 100755 --- a/rtp.c +++ b/rtp.c @@ -1149,7 +1149,7 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit) ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr), ntohs(rtp->them.sin_port), strerror(errno)); if (rtp_debug_test_addr(&rtp->them)) - ast_verbose("Sent RTP packet to %s:%d (type %d, seq %d, ts %d, len %d)\n", + ast_verbose("Sent RTP packet to %s:%d (type %d, seq %u, ts %u, len %u)\n", ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr), ntohs(rtp->them.sin_port), payload, rtp->seqno, rtp->lastdigitts, res - hdrlen); } @@ -1292,7 +1292,7 @@ static int ast_rtp_raw_write(struct ast_rtp *rtp, struct ast_frame *f, int codec } if(rtp_debug_test_addr(&rtp->them)) - ast_verbose("Sent RTP packet to %s:%d (type %d, seq %d, ts %d, len %d)\n" + ast_verbose("Sent RTP packet to %s:%d (type %d, seq %u, ts %u, len %u)\n" , ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr), ntohs(rtp->them.sin_port), codec, rtp->seqno, rtp->lastts,res - hdrlen); }