summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/cli.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-11-05 18:47:53 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-11-05 18:47:53 +0400
commit6d160f30d56df6433ea30e504e0dfeb626d52aa5 (patch)
tree9be31bdbab6d69f31424085d647e9f4c07d829ba /accel-pppd/ctrl/pppoe/cli.c
parentf319ff850895cebe92540fbc56c71effe8490add (diff)
downloadaccel-ppp-6d160f30d56df6433ea30e504e0dfeb626d52aa5.tar.gz
accel-ppp-6d160f30d56df6433ea30e504e0dfeb626d52aa5.zip
pppoe: show 'starting' in statistics
Diffstat (limited to 'accel-pppd/ctrl/pppoe/cli.c')
-rw-r--r--accel-pppd/ctrl/pppoe/cli.c1
1 files changed, 1 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);