diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-05-09 07:47:29 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-05-10 10:16:29 -0400 |
| commit | 73ad64a6f4b039ce482ad5c3b080e8c9bb02890f (patch) | |
| tree | e1db111a14838563686d207f5371fcf024edc5a7 /lib/smux.h | |
| parent | 51119823d02847f6095725e520264c85af94b37f (diff) | |
*: Modify agentx to be allowed to be called
If you had a situation where an operator turned on
ospfd with snmp but not ospf6d and agentx was configured
then you get into a situation where ospf6d would complain
that the config for agentx did not exist. Let's modify
the code to allow this situation to happen.
Fixes: #15896
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/smux.h')
| -rw-r--r-- | lib/smux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smux.h b/lib/smux.h index cec4d2a1bf..8ec847afd0 100644 --- a/lib/smux.h +++ b/lib/smux.h @@ -99,6 +99,7 @@ struct index_oid { */ extern bool smux_enabled(void); +extern void libagentx_init(void); extern void smux_init(struct event_loop *tm); extern void smux_agentx_enable(void); extern void smux_register_mib(const char *, struct variable *, size_t, int, |
