summaryrefslogtreecommitdiffstats
path: root/isisd/isis_snmp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-17 07:11:26 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-17 07:11:26 +0100
commitd5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6 (patch)
tree705ea89e798053f9c227b85512bc9f5b437b0093 /isisd/isis_snmp.c
parentReleasing debian version 10.1.1-3. (diff)
downloadfrr-d5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6.tar.xz
frr-d5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6.zip
Merging upstream version 10.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'isisd/isis_snmp.c')
-rw-r--r--isisd/isis_snmp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/isisd/isis_snmp.c b/isisd/isis_snmp.c
index f9e3780e..83a06b69 100644
--- a/isisd/isis_snmp.c
+++ b/isisd/isis_snmp.c
@@ -2826,6 +2826,13 @@ static int isis_snmp_init(struct event_loop *tm)
return 0;
}
+static int isis_snmp_terminate(void)
+{
+ smux_terminate();
+
+ return 0;
+}
+
/*
* ISIS notification functions: we have one function per notification
*/
@@ -3448,6 +3455,7 @@ static int isis_snmp_module_init(void)
hook_register(isis_circuit_del_hook, isis_circuit_snmp_id_free);
hook_register(frr_late_init, isis_snmp_init);
+ hook_register(frr_fini, isis_snmp_terminate);
return 0;
}