From 6f83bbd614b9bc8b05d73227e1268c018a1c0c17 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 4 Nov 2022 14:20:57 -0400 Subject: 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 --- lib/smux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/smux.h') 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); -- cgit v1.2.3