diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-21 13:50:59 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-21 13:50:59 +0000 |
commit | 6d37133f5c98dadf6eb17f7f6854290f572dd4ad (patch) | |
tree | df9f738ff31da229f5f48664924a2d3ffea845fb /src | |
parent | a2eb348ebb6bb3172aa46dd132befe2a24c2d302 (diff) | |
download | conntrack-tools-6d37133f5c98dadf6eb17f7f6854290f572dd4ad.tar.gz conntrack-tools-6d37133f5c98dadf6eb17f7f6854290f572dd4ad.zip |
raise ignorepoll limit from 1024 to INT_MAX
Diffstat (limited to 'src')
-rw-r--r-- | src/ignore_pool.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ignore_pool.c b/src/ignore_pool.c index d6f0e93..619c2fa 100644 --- a/src/ignore_pool.c +++ b/src/ignore_pool.c @@ -22,8 +22,9 @@ #include "ignore.h" #include <libnetfilter_conntrack/libnetfilter_conntrack.h> -#define IGNORE_POOL_SIZE 32 -#define IGNORE_POOL_LIMIT 1024 +/* XXX: These should be configurable */ +#define IGNORE_POOL_SIZE 128 +#define IGNORE_POOL_LIMIT INT_MAX static u_int32_t hash(const void *data, struct hashtable *table) { |