summaryrefslogtreecommitdiff
path: root/lib/routemap.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 /lib/routemap.c
parent8186327f3d2a5028b55eab9a04c31b5ccd68afd1 (diff)
parente703a0f3afd3469afdc57994a38245cf2ada4e00 (diff)
Merge pull request #742 from qlyoung/hashstats
Hashtable statistics
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 9eb28888ad..caba8afd71 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -1767,7 +1767,7 @@ route_map_dep_hash_alloc(void *p)
dep_entry = XCALLOC(MTYPE_ROUTE_MAP_DEP, sizeof(struct route_map_dep));
dep_entry->dep_name = XSTRDUP(MTYPE_ROUTE_MAP_NAME, dep_name);
dep_entry->dep_rmap_hash = hash_create(route_map_dep_hash_make_key,
- route_map_rmap_hash_cmp);
+ route_map_rmap_hash_cmp, NULL);
dep_entry->this_hash = NULL;
return((void *)dep_entry);
@@ -2986,11 +2986,11 @@ route_map_init (void)
/* Make vector for match and set. */
route_match_vec = vector_init (1);
route_set_vec = vector_init (1);
- route_map_master_hash = hash_create(route_map_hash_key_make, route_map_hash_cmp);
+ route_map_master_hash = hash_create(route_map_hash_key_make, route_map_hash_cmp, NULL);
for (i = 1; i < ROUTE_MAP_DEP_MAX; i++)
route_map_dep_hash[i] = hash_create(route_map_dep_hash_make_key,
- route_map_dep_hash_cmp);
+ route_map_dep_hash_cmp, NULL);
cmd_variable_handler_register(rmap_var_handlers);