summaryrefslogtreecommitdiffstats
path: root/ipset_nethash.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-10-04 12:46:07 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-10-04 12:46:07 +0200
commit97051dbde31e30c4b3a36e6d314d114decd38389 (patch)
treec4509cc19d1172547582c6fe5465dade10c9abf9 /ipset_nethash.c
parentc463a1188b9aaec1e09dfe80779173c0a015d70c (diff)
Take into account the compile time setting of the default hash size
Diffstat (limited to 'ipset_nethash.c')
-rw-r--r--ipset_nethash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipset_nethash.c b/ipset_nethash.c
index c7891cf..7de5a29 100644
--- a/ipset_nethash.c
+++ b/ipset_nethash.c
@@ -38,7 +38,7 @@ nethash_create_init(void *data)
DP("create INIT");
/* Default create parameters */
- mydata->hashsize = 1024;
+ mydata->hashsize = IP_NF_SET_HASHSIZE;
mydata->probes = 4;
mydata->resize = 50;
}