summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/sstp/sstp.c
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2018-06-03 04:23:59 +0500
committerVladislav Grishenko <themiron@mail.ru>2018-06-03 04:23:59 +0500
commit0d454ad7102506ecd12a36239f6604f7e4b57aae (patch)
treed76d1a8df4e5be205c1fbc3ee432fca4652ddebd /accel-pppd/ctrl/sstp/sstp.c
parent3b5a479a573f27a1efddb01351d61d142bb46a11 (diff)
downloadaccel-ppp-xebd-0d454ad7102506ecd12a36239f6604f7e4b57aae.tar.gz
accel-ppp-xebd-0d454ad7102506ecd12a36239f6604f7e4b57aae.zip
sstp: add snmp support
Diffstat (limited to 'accel-pppd/ctrl/sstp/sstp.c')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index cfebf4f..3f3f48c 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -2409,6 +2409,12 @@ static int show_stat_exec(const char *cmd, char * const *fields, int fields_cnt,
return CLI_CMD_OK;
}
+void __export sstp_get_stat(unsigned int **starting, unsigned int **active)
+{
+ *starting = &stat_starting;
+ *active = &stat_active;
+}
+
static void load_config(void)
{
int ipmode;