summaryrefslogtreecommitdiff
path: root/nhrpd/reqid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/reqid.c')
-rw-r--r--nhrpd/reqid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/reqid.c b/nhrpd/reqid.c
index 24b3199397..61fbfd7795 100644
--- a/nhrpd/reqid.c
+++ b/nhrpd/reqid.c
@@ -17,7 +17,7 @@ static int nhrp_reqid_cmp(const void *data, const void *key)
uint32_t nhrp_reqid_alloc(struct nhrp_reqid_pool *p, struct nhrp_reqid *r, void (*cb)(struct nhrp_reqid *, void *))
{
if (!p->reqid_hash) {
- p->reqid_hash = hash_create(nhrp_reqid_key, nhrp_reqid_cmp);
+ p->reqid_hash = hash_create(nhrp_reqid_key, nhrp_reqid_cmp, NULL);
p->next_request_id = 1;
}