diff options
Diffstat (limited to 'isisd/isis_snmp.c')
-rw-r--r-- | isisd/isis_snmp.c | 8 |
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; } |