diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2021-03-14 22:14:27 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-14 22:14:27 -0300 |
| commit | e1908ceb4242dffc97a4204da4ffa57a52c5512d (patch) | |
| tree | 1ce6d9d02aeed10d72896a816fe028028e829c88 /lib/agentx.c | |
| parent | 70d453d2a08abdbff7664ae7997426144fb68c37 (diff) | |
| parent | 0a4340469e918c99664cee6d60c2c9ceb394a149 (diff) | |
Merge pull request #7945 from volta-networks/feat_isis_snmp
isisd: add support for read-only snmp mibs objects
Diffstat (limited to 'lib/agentx.c')
| -rw-r--r-- | lib/agentx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/agentx.c b/lib/agentx.c index c8d7d75a81..c1ff7a61b1 100644 --- a/lib/agentx.c +++ b/lib/agentx.c @@ -246,6 +246,11 @@ DEFUN (no_agentx, return CMD_WARNING_CONFIG_FAILED; } +int smux_enabled(void) +{ + return agentx_enabled; +} + void smux_init(struct thread_master *tm) { agentx_tm = tm; @@ -392,4 +397,9 @@ int smux_trap_multi_index(struct variable *vp, size_t vp_len, const oid *ename, return 1; } +void smux_events_update(void) +{ + agentx_events_update(); +} + #endif /* SNMP_AGENTX */ |
