diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-11-05 18:47:53 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-11-05 18:47:53 +0400 |
commit | 6d160f30d56df6433ea30e504e0dfeb626d52aa5 (patch) | |
tree | 9be31bdbab6d69f31424085d647e9f4c07d829ba /accel-pppd/ctrl/pppoe | |
parent | f319ff850895cebe92540fbc56c71effe8490add (diff) | |
download | accel-ppp-6d160f30d56df6433ea30e504e0dfeb626d52aa5.tar.gz accel-ppp-6d160f30d56df6433ea30e504e0dfeb626d52aa5.zip |
pppoe: show 'starting' in statistics
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r-- | accel-pppd/ctrl/pppoe/cli.c | 1 | ||||
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/cli.c b/accel-pppd/ctrl/pppoe/cli.c index c9d6722..4f712b8 100644 --- a/accel-pppd/ctrl/pppoe/cli.c +++ b/accel-pppd/ctrl/pppoe/cli.c @@ -89,6 +89,7 @@ help: static int show_stat_exec(const char *cmd, char * const *fields, int fields_cnt, void *client) { cli_send(client, "pppoe:\r\n"); + cli_sendv(client, " starting: %u\r\n", stat_starting); 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); diff --git a/accel-pppd/ctrl/pppoe/pppoe.h b/accel-pppd/ctrl/pppoe/pppoe.h index 248ea40..faed20c 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.h +++ b/accel-pppd/ctrl/pppoe/pppoe.h @@ -95,6 +95,7 @@ extern char *conf_service_name; extern char *conf_ac_name; extern char *conf_pado_delay; +extern unsigned int stat_starting; extern unsigned int stat_active; extern unsigned int stat_delayed_pado; extern unsigned long stat_PADI_recv; |