]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: fix hash expression maxval
authorFlorian Westphal <fw@strlen.de>
Wed, 16 Jun 2021 21:16:45 +0000 (23:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 18 Jun 2021 09:30:27 +0000 (11:30 +0200)
commitd70691247be78c5cb814c5ab1c4bdb5e475cec59
tree9bba1283410983612f55d117ed56336d96cacba6
parent7a0e26723496c268ac639012e882b5dc9ba88f9f
evaluate: fix hash expression maxval

It needs to account for the offset too.

Fixes: 9bee0c86f179 ("src: add offset attribute for hash expression")
Fixes: d4f9a8fb9e9a ("src: add offset attribute for numgen expression")
Signed-off-by: Florian Westphal <fw@strlen.de>
src/evaluate.c