summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-09-07 11:35:08 +0200
committerGitHub <noreply@github.com>2017-09-07 11:35:07 +0200
commita7e5e20a22cf875a077f4800dbbec23b6c836b03 (patch)
tree44ceeb06c1f3d48f17fa87e4c4f60eb1ab27780e /zebra/zebra_mpls.c
parentcbd1fec33150b71eef438b2cb9dd08b28d7e2ac7 (diff)
parent8462c0ff42a966c4659a3ae020042c5ee9f8d619 (diff)
Merge pull request #1099 from donaldsharp/hashing
Hashing
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r--zebra/zebra_mpls.c8
1 files 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;