diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-21 20:46:19 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-22 10:14:10 +0100 |
commit | 8ca47c1369e263addb865e7054f07658f14c3335 (patch) | |
tree | 1c1d845ee9c8f20a22b4e6fe9157fc8d00faf07b /tests/shell/features | |
parent | 1881cd676e24903b837f63cabd3e4f6fb25e0a24 (diff) |
tests: shell: skip nat inet if kernel does not support it
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/features')
-rw-r--r-- | tests/shell/features/inet_nat.nft | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/inet_nat.nft b/tests/shell/features/inet_nat.nft new file mode 100644 index 00000000..189ea1d0 --- /dev/null +++ b/tests/shell/features/inet_nat.nft @@ -0,0 +1,7 @@ +# v5.2-rc1~133^2~174^2~15 +# d164385ec572 ("netfilter: nat: add inet family nat support") +table inet x { + chain y { + type nat hook prerouting priority dstnat; + } +} |