summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/net-snmp/agent.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2011-12-27 17:24:55 +0400
committerKozlov Dmitry <xeb@mail.ru>2011-12-27 17:24:55 +0400
commitf1c39d3ff40aece8278afaec0098607d498cd768 (patch)
tree1b533df2004b636201ac52c02683a5a980744a83 /accel-pppd/extra/net-snmp/agent.c
parent1ade87d064ff682e0d836558e73ad7ca3e7148ec (diff)
downloadaccel-ppp-f1c39d3ff40aece8278afaec0098607d498cd768.tar.gz
accel-ppp-f1c39d3ff40aece8278afaec0098607d498cd768.zip
snmp: implemneted new node (ACCEL-PPP-MIB::cli.0) which can be used to send cli commands
Diffstat (limited to 'accel-pppd/extra/net-snmp/agent.c')
-rw-r--r--accel-pppd/extra/net-snmp/agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/extra/net-snmp/agent.c b/accel-pppd/extra/net-snmp/agent.c
index dd38b446..878cd9a7 100644
--- a/accel-pppd/extra/net-snmp/agent.c
+++ b/accel-pppd/extra/net-snmp/agent.c
@@ -16,6 +16,7 @@
#include "terminate.h"
#include "shutdown.h"
#include "sessionTable.h"
+#include "exec_cli.h"
static const char *conf_agent_name = "accel-ppp";
static int conf_master = 0;
@@ -96,6 +97,7 @@ static void *snmp_thread(void *a)
init_terminate();
init_shutdown();
init_sessionTable();
+ init_cli();
init_snmp(conf_agent_name);