diff options
Diffstat (limited to 'src/gen_bpf.c')
-rw-r--r-- | src/gen_bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_bpf.c b/src/gen_bpf.c index 0b6e95a..c919056 100644 --- a/src/gen_bpf.c +++ b/src/gen_bpf.c @@ -572,7 +572,7 @@ static int _hsh_add(struct bpf_state *state, struct bpf_blk **blk_p, return -ENOMEM; /* generate the hash */ - h_val = jhash(blk->blks, _BLK_MSZE(blk), 0); + h_val = hash(blk->blks, _BLK_MSZE(blk)); blk->hash = h_val; blk->flag_hash = true; blk->node = NULL; |