From 97051dbde31e30c4b3a36e6d314d114decd38389 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 4 Oct 2010 12:46:07 +0200 Subject: Take into account the compile time setting of the default hash size --- ipset_iphash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipset_iphash.c') diff --git a/ipset_iphash.c b/ipset_iphash.c index 0bc5bd1..0a02d90 100644 --- a/ipset_iphash.c +++ b/ipset_iphash.c @@ -39,7 +39,7 @@ iphash_create_init(void *data) DP("create INIT"); /* Default create parameters */ - mydata->hashsize = 1024; + mydata->hashsize = IP_NF_SET_HASHSIZE; mydata->probes = 8; mydata->resize = 50; -- cgit v1.2.3