From 0f66d7d1e6ae5ef3f0679246f4eefbb42f9188f7 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sun, 3 Sep 2017 18:55:44 -0400 Subject: [PATCH] zebra: Add hash name to mpls hash Signed-off-by: Donald Sharp --- zebra/zebra_mpls.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 3c4de40db3..273945778a 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -2812,8 +2812,12 @@ void zebra_mpls_init_tables(struct zebra_vrf *zvrf) { if (!zvrf) return; - zvrf->slsp_table = hash_create(label_hash, label_cmp, NULL); - zvrf->lsp_table = hash_create(label_hash, label_cmp, NULL); + zvrf->slsp_table = hash_create(label_hash, + label_cmp, + "ZEBRA SLSP table"); + zvrf->lsp_table = hash_create(label_hash, + label_cmp, + "ZEBRA LSP table"); zvrf->fec_table[AFI_IP] = route_table_init(); zvrf->fec_table[AFI_IP6] = route_table_init(); zvrf->mpls_flags = 0; -- 2.39.5