diff options
| author | David Lamparter <equinox@diac24.net> | 2017-09-07 11:35:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-07 11:35:07 +0200 |
| commit | a7e5e20a22cf875a077f4800dbbec23b6c836b03 (patch) | |
| tree | 44ceeb06c1f3d48f17fa87e4c4f60eb1ab27780e /zebra/zebra_mpls.c | |
| parent | cbd1fec33150b71eef438b2cb9dd08b28d7e2ac7 (diff) | |
| parent | 8462c0ff42a966c4659a3ae020042c5ee9f8d619 (diff) | |
Merge pull request #1099 from donaldsharp/hashing
Hashing
Diffstat (limited to 'zebra/zebra_mpls.c')
| -rw-r--r-- | zebra/zebra_mpls.c | 8 |
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; |
