diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-11-04 14:20:57 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-12-15 11:14:53 -0500 | 
| commit | 6f83bbd614b9bc8b05d73227e1268c018a1c0c17 (patch) | |
| tree | 5d4d192fa278c1d8caf36fada4a9a7897bfc48c0 /lib/smux.h | |
| parent | 2fcd46fe3817f162d08703ed9ab680f52ac0b24c (diff) | |
lib: On shutdown, disable snmp from working
When shutting down ensure that any daemon operating with
snmp tells it to stop operating so no more data is sent.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/smux.h')
| -rw-r--r-- | lib/smux.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/smux.h b/lib/smux.h index 27f03b685f..1d73406a28 100644 --- a/lib/smux.h +++ b/lib/smux.h @@ -109,6 +109,9 @@ struct index_oid {  #define SNMP_IP6ADDRESS(V) (*var_len = sizeof(struct in6_addr), (uint8_t *)&V) +/* + * Check to see if snmp is enabled or not + */  extern bool smux_enabled(void);  extern void smux_init(struct thread_master *tm);  | 
