diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2018-06-03 04:23:59 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2018-06-03 04:23:59 +0500 |
commit | 0d454ad7102506ecd12a36239f6604f7e4b57aae (patch) | |
tree | d76d1a8df4e5be205c1fbc3ee432fca4652ddebd /accel-pppd/ctrl | |
parent | 3b5a479a573f27a1efddb01351d61d142bb46a11 (diff) | |
download | accel-ppp-0d454ad7102506ecd12a36239f6604f7e4b57aae.tar.gz accel-ppp-0d454ad7102506ecd12a36239f6604f7e4b57aae.zip |
sstp: add snmp support
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/sstp/sstp.c | 6 |
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; |