summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-07-04 11:58:10 -0700
committerGitHub <noreply@github.com>2017-07-04 11:58:10 -0700
commitc6200b54679f7e65d4a1036cece3d6cb08ccb9c5 (patch)
treee37ad76ba3e69a94e1ebd970c6f4700a99ee23ab /zebra/zebra_mpls.c
parent8186327f3d2a5028b55eab9a04c31b5ccd68afd1 (diff)
parente703a0f3afd3469afdc57994a38245cf2ada4e00 (diff)
Merge pull request #742 from qlyoung/hashstats
Hashtable statistics
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r--zebra/zebra_mpls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index a8e7f5372c..e08ff08cf6 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -2994,8 +2994,8 @@ zebra_mpls_init_tables (struct zebra_vrf *zvrf)
{
if (!zvrf)
return;
- zvrf->slsp_table = hash_create(label_hash, label_cmp);
- zvrf->lsp_table = hash_create(label_hash, label_cmp);
+ zvrf->slsp_table = hash_create(label_hash, label_cmp, NULL);
+ zvrf->lsp_table = hash_create(label_hash, label_cmp, NULL);
zvrf->fec_table[AFI_IP] = route_table_init();
zvrf->fec_table[AFI_IP6] = route_table_init();
zvrf->mpls_flags = 0;