]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: fix always-true assertions
authorFlorian Westphal <fw@strlen.de>
Tue, 26 Apr 2022 09:47:37 +0000 (11:47 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 26 Apr 2022 09:54:37 +0000 (11:54 +0200)
commitfc4da14128e33d87fa24c019ec8c3a69548bf466
tree939a2716c9faade48b9943d023e4cfc18cc3ca6a
parentd1289bff58e1878c3162f574c603da993e29b113
src: fix always-true assertions

assert(1) is a no-op, this should be assert(0). Use BUG() instead.
Add missing CATCHALL to avoid BUG().

Signed-off-by: Florian Westphal <fw@strlen.de>
src/evaluate.c
src/intervals.c