From 0d454ad7102506ecd12a36239f6604f7e4b57aae Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Sun, 3 Jun 2018 04:23:59 +0500 Subject: sstp: add snmp support --- accel-pppd/ctrl/sstp/sstp.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'accel-pppd/ctrl/sstp/sstp.c') 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; -- cgit v1.2.3