diff options
author | Florian Westphal <fw@strlen.de> | 2023-08-02 16:19:45 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-08-02 16:22:49 +0200 |
commit | 76835278e00af29d708e0085461c1cd79fb4050e (patch) | |
tree | 7f08fe9693f11d9c30843ad040a6edcfee9df4ca /tests/shell/testcases/chains/0023prio_inet_srcnat_1 | |
parent | 458e91a954abe4b7fb4ba70901c7da28220c446a (diff) |
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>
Diffstat (limited to 'tests/shell/testcases/chains/0023prio_inet_srcnat_1')
-rwxr-xr-x | tests/shell/testcases/chains/0023prio_inet_srcnat_1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/chains/0023prio_inet_srcnat_1 b/tests/shell/testcases/chains/0023prio_inet_srcnat_1 index d2b1fa43..e4a668e1 100755 --- a/tests/shell/testcases/chains/0023prio_inet_srcnat_1 +++ b/tests/shell/testcases/chains/0023prio_inet_srcnat_1 @@ -2,7 +2,7 @@ for family in ip ip6 inet do - for hook in prerouting input forward output + for hook in prerouting forward output do $NFT add table $family x $NFT add chain $family x y "{ type filter hook $hook priority srcnat; }" &> /dev/null |