summaryrefslogtreecommitdiffstats
path: root/zebra/label_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/label_manager.c')
-rw-r--r--zebra/label_manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/label_manager.c b/zebra/label_manager.c
index 8ae6e0cc3..c97beb6af 100644
--- a/zebra/label_manager.c
+++ b/zebra/label_manager.c
@@ -302,6 +302,11 @@ void label_manager_init(void)
install_element(CONFIG_NODE, &mpls_label_dynamic_block_cmd);
}
+void label_manager_terminate(void)
+{
+ list_delete(&lbl_mgr.lc_list);
+}
+
/* alloc and fill a label chunk */
struct label_manager_chunk *
create_label_chunk(uint8_t proto, unsigned short instance, uint32_t session_id,