]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: fix inet nat prio tests
authorFlorian Westphal <fw@strlen.de>
Wed, 2 Aug 2023 14:19:45 +0000 (16:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 2 Aug 2023 14:22:49 +0000 (16:22 +0200)
commit76835278e00af29d708e0085461c1cd79fb4050e
tree7f08fe9693f11d9c30843ad040a6edcfee9df4ca
parent458e91a954abe4b7fb4ba70901c7da28220c446a
tests: fix inet nat prio tests

Its legal to DNAT in output and SNAT in input chain, so don't test
for that being illegal.

Fixes: 8beafab74c39 ("rule: allow src/dstnat prios in input and output")
Fixes: 34ce4e4a7bb6 ("test: shell: Test cases for standard chain prios")
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/chains/0023prio_inet_srcnat_1
tests/shell/testcases/chains/0024prio_inet_dstnat_1