summaryrefslogtreecommitdiff
path: root/pimd/pim_msdp.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 /pimd/pim_msdp.c
parent8186327f3d2a5028b55eab9a04c31b5ccd68afd1 (diff)
parente703a0f3afd3469afdc57994a38245cf2ada4e00 (diff)
Merge pull request #742 from qlyoung/hashstats
Hashtable statistics
Diffstat (limited to 'pimd/pim_msdp.c')
-rw-r--r--pimd/pim_msdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c
index 18e24dae32..71a2869818 100644
--- a/pimd/pim_msdp.c
+++ b/pimd/pim_msdp.c
@@ -1570,13 +1570,13 @@ pim_msdp_init(struct thread_master *master)
msdp->master = master;
msdp->peer_hash = hash_create(pim_msdp_peer_hash_key_make,
- pim_msdp_peer_hash_eq);
+ pim_msdp_peer_hash_eq, NULL);
msdp->peer_list = list_new();
msdp->peer_list->del = (void (*)(void *))pim_msdp_peer_free;
msdp->peer_list->cmp = (int (*)(void *, void *))pim_msdp_peer_comp;
msdp->sa_hash = hash_create(pim_msdp_sa_hash_key_make,
- pim_msdp_sa_hash_eq);
+ pim_msdp_sa_hash_eq, NULL);
msdp->sa_list = list_new();
msdp->sa_list->del = (void (*)(void *))pim_msdp_sa_free;
msdp->sa_list->cmp = (int (*)(void *, void *))pim_msdp_sa_comp;