zebra: Add hash name to mpls hash

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-09-03 18:55:44 -04:00
parent bd74dc610a
commit 0f66d7d1e6

View File

@ -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;