diff options
| author | David Lamparter <equinox@diac24.net> | 2017-09-07 11:35:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-07 11:35:07 +0200 |
| commit | a7e5e20a22cf875a077f4800dbbec23b6c836b03 (patch) | |
| tree | 44ceeb06c1f3d48f17fa87e4c4f60eb1ab27780e /lib/if_rmap.c | |
| parent | cbd1fec33150b71eef438b2cb9dd08b28d7e2ac7 (diff) | |
| parent | 8462c0ff42a966c4659a3ae020042c5ee9f8d619 (diff) | |
Merge pull request #1099 from donaldsharp/hashing
Hashing
Diffstat (limited to 'lib/if_rmap.c')
| -rw-r--r-- | lib/if_rmap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c index 968c087c3c..53c2824a99 100644 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@ -294,7 +294,10 @@ void if_rmap_reset() void if_rmap_init(int node) { - ifrmaphash = hash_create(if_rmap_hash_make, if_rmap_hash_cmp, NULL); + ifrmaphash = hash_create_size(4, + if_rmap_hash_make, + if_rmap_hash_cmp, + "Interface Route-Map Hash"); if (node == RIPNG_NODE) { } else if (node == RIP_NODE) { install_element(RIP_NODE, &if_rmap_cmd); |
