]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix the output that indicates whether qualify smoothing is on or not (issue #6608)
authorRussell Bryant <russell@russellbryant.com>
Tue, 28 Feb 2006 19:46:04 +0000 (19:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 28 Feb 2006 19:46:04 +0000 (19:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11410 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 48e287abdfaf0d7922288e007644d5feff208f21..ec2dec5da21e619276adeb7aaa8b5c89b8951407 100644 (file)
@@ -1958,7 +1958,7 @@ static int iax2_show_peer(int fd, int argc, char *argv[])
                ast_cli(fd, "  Status       : ");
                peer_status(peer, status, sizeof(status));      
                ast_cli(fd, "%s\n",status);
-               ast_cli(fd, " Qualify        : every %d when OK, every %d when UNREACHABLE (sample smoothing %s)\n", peer->pokefreqok, peer->pokefreqnotok, (peer->smoothing == 1) ? "On" : "Off");
+               ast_cli(fd, " Qualify        : every %dms when OK, every %dms when UNREACHABLE (sample smoothing %s)\n", peer->pokefreqok, peer->pokefreqnotok, peer->smoothing ? "On" : "Off");
                ast_cli(fd,"\n");
                if (ast_test_flag(peer, IAX_TEMPONLY))
                        destroy_peer(peer);