diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-20 00:49:44 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-07-02 01:18:37 +0200 |
commit | dfd19ccc3a21b18fb09cecff5d87d20a0adbafe3 (patch) | |
tree | ad5f5e7ebf2912329bebbc8f87303aa71b61d7b5 /nhrpd/reqid.c | |
parent | lib, vtysh: hashtable statistics (diff) | |
download | frr-dfd19ccc3a21b18fb09cecff5d87d20a0adbafe3.tar.xz frr-dfd19ccc3a21b18fb09cecff5d87d20a0adbafe3.zip |
*: update hash_create(), hash_create_size()
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'nhrpd/reqid.c')
-rw-r--r-- | nhrpd/reqid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/reqid.c b/nhrpd/reqid.c index 24b319939..61fbfd779 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; } |