summaryrefslogtreecommitdiff
path: root/lib/if_rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if_rmap.c')
-rw-r--r--lib/if_rmap.c5
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);