diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-28 19:46:04 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-28 19:46:04 +0000 |
commit | 8f490ed6f9d59dea0683273ea28a4127efd94af4 (patch) | |
tree | 5b08226311fbe76eada14d9f8b616be1fdd0edde /channels/chan_iax2.c | |
parent | 8891e2ecca1ed446a8a720d777c4ba3c618b81f8 (diff) |
fix the output that indicates whether qualify smoothing is on or not (issue #6608)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11410 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 48e287abd..ec2dec5da 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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); |