summaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c
index c4854bb..83c2eb3 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -49,7 +49,7 @@ static uint32_t hash(const void *data, struct hashtable *table)
static uint32_t hash6(const void *data, struct hashtable *table)
{
- return jhash(data, sizeof(uint32_t)*4, 0) % table->hashsize;
+ return jhash2(data, 4, 0) % table->hashsize;
}
static int compare(const void *data1, const void *data2)