diff options
Diffstat (limited to 'accel-pppd/ctrl')
-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; |