]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: compact STMT_F_STATEFUL checks
authorFlorian Westphal <fw@strlen.de>
Mon, 31 Mar 2025 15:23:19 +0000 (17:23 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 31 Mar 2025 18:48:50 +0000 (20:48 +0200)
commit36bd6d0088bca1087aeccfe14aaa786200d755bc
tree87b344413b98737cde591ee97776aa6841993fa1
parent8a9581d5d66ca2f920730441c82ac14fe9d9a427
evaluate: compact STMT_F_STATEFUL checks

We'll gain another F_STATEFUL check in a followup patch,
so lets condense the pattern into a helper to reduce copypaste.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c