]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Add hash name to mpls hash
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 3 Sep 2017 22:55:44 +0000 (18:55 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Sep 2017 18:33:06 +0000 (14:33 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_mpls.c

index 3c4de40db3d4b756c2020ff5889bd8ee0c30ff4d..273945778a0413063c08f81b9db2110cf282af48 100644 (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;