diff options
| author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-04 00:11:04 +0300 |
|---|---|---|
| committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-04 00:11:04 +0300 |
| commit | cdd91cd6a6a7bd00dcf9a0ba78ea76e01ce33655 (patch) | |
| tree | 9edc12be71dc10f7112aef9fa654faa2b6897b51 /accel-pptpd/ctrl/pppoe/cli.c | |
| parent | 709dd1595b4877471cb18397be28352730120067 (diff) | |
| download | accel-ppp-cdd91cd6a6a7bd00dcf9a0ba78ea76e01ce33655.tar.gz accel-ppp-cdd91cd6a6a7bd00dcf9a0ba78ea76e01ce33655.zip | |
pppoe: additional statistics
radius: additional statistics
Diffstat (limited to 'accel-pptpd/ctrl/pppoe/cli.c')
| -rw-r--r-- | accel-pptpd/ctrl/pppoe/cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pptpd/ctrl/pppoe/cli.c b/accel-pptpd/ctrl/pppoe/cli.c index 7a62952..9929f66 100644 --- a/accel-pptpd/ctrl/pppoe/cli.c +++ b/accel-pptpd/ctrl/pppoe/cli.c @@ -68,6 +68,10 @@ static int show_stat_exec(const char *cmd, char * const *fields, int fields_cnt, cli_send(client, "pppoe:\r\n"); cli_sendv(client, " active: %u\r\n", stat_active); cli_sendv(client, " delayed PADO: %u\r\n", stat_delayed_pado); + cli_sendv(client, " recv PADI: %lu\r\n", stat_PADI_recv); + cli_sendv(client, " sent PADO: %lu\r\n", stat_PADO_sent); + cli_sendv(client, " recv PADR(dup): %lu(%lu)\r\n", stat_PADR_recv, stat_PADR_dup_recv); + cli_sendv(client, " sent PADS: %lu\r\n", stat_PADS_sent); return CLI_CMD_OK; } |
