diff options
author | Kozlov Dmitry <dima@server> | 2011-01-28 15:50:01 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-01-28 15:50:01 +0300 |
commit | 735c852752a0c051301adc7022b0a08bf62733fc (patch) | |
tree | eb2970bba26610d1fcf339efd1760efe147e20a4 /accel-pppd | |
parent | e6d2aea48d3402fe2542ae6c055a607dd37a4bba (diff) | |
download | accel-ppp-735c852752a0c051301adc7022b0a08bf62733fc.tar.gz accel-ppp-735c852752a0c051301adc7022b0a08bf62733fc.zip |
radius: fix statistics output formatting
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/radius/radius.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/radius/radius.c b/accel-pppd/radius/radius.c index b50b5257..edf3120e 100644 --- a/accel-pppd/radius/radius.c +++ b/accel-pppd/radius/radius.c @@ -377,19 +377,19 @@ static int show_stat_exec(const char *cmd, char * const *fields, int fields_cnt, cli_sendv(client, " auth sent: %lu\r\n", stat_auth_sent); cli_sendv(client, " auth lost(total/5m/1m): %lu/%lu/%lu\r\n", stat_auth_lost, stat_accm_get_cnt(stat_auth_lost_5m), stat_accm_get_cnt(stat_auth_lost_1m)); - cli_sendv(client, " auth avg query time(5m/1m): %lu/%lu ms\n", + cli_sendv(client, " auth avg query time(5m/1m): %lu/%lu ms\r\n", stat_accm_get_avg(stat_auth_query_5m), stat_accm_get_avg(stat_auth_query_1m)); cli_sendv(client, " acct sent: %lu\r\n", stat_acct_sent); cli_sendv(client, " acct lost(total/5m/1m): %lu/%lu/%lu\r\n", stat_acct_lost, stat_accm_get_cnt(stat_acct_lost_5m), stat_accm_get_cnt(stat_acct_lost_1m)); - cli_sendv(client, " acct avg query time(5m/1m): %lu/%lu ms\n", + cli_sendv(client, " acct avg query time(5m/1m): %lu/%lu ms\r\n", stat_accm_get_avg(stat_acct_query_5m), stat_accm_get_avg(stat_acct_query_1m)); cli_sendv(client, " interim sent: %lu\r\n", stat_interim_sent); cli_sendv(client, " interim lost(total/5m/1m): %lu/%lu/%lu\r\n", stat_interim_lost, stat_accm_get_cnt(stat_interim_lost_5m), stat_accm_get_cnt(stat_interim_lost_1m)); - cli_sendv(client, " interim avg query time(5m/1m): %lu/%lu ms\n", + cli_sendv(client, " interim avg query time(5m/1m): %lu/%lu ms\r\n", stat_accm_get_avg(stat_interim_query_5m), stat_accm_get_avg(stat_interim_query_1m)); return CLI_CMD_OK; |