diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-10-04 12:46:07 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-10-04 12:46:07 +0200 |
commit | 97051dbde31e30c4b3a36e6d314d114decd38389 (patch) | |
tree | c4509cc19d1172547582c6fe5465dade10c9abf9 /ipset_ipporthash.c | |
parent | c463a1188b9aaec1e09dfe80779173c0a015d70c (diff) |
Take into account the compile time setting of the default hash size
Diffstat (limited to 'ipset_ipporthash.c')
-rw-r--r-- | ipset_ipporthash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipset_ipporthash.c b/ipset_ipporthash.c index 9249b2a..5c114d0 100644 --- a/ipset_ipporthash.c +++ b/ipset_ipporthash.c @@ -39,7 +39,7 @@ ipporthash_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; } |