diff options
-rwxr-xr-x | tests/shell/testcases/chains/0019masquerade_jump_1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0019masquerade_jump_1 b/tests/shell/testcases/chains/0019masquerade_jump_1 new file mode 100755 index 00000000..4fe68c84 --- /dev/null +++ b/tests/shell/testcases/chains/0019masquerade_jump_1 @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e + +$NFT add table t +$NFT add chain t input {type filter hook input priority 4 \; } +$NFT add chain t c1 +$NFT add rule t input ip saddr vmap { 1.1.1.1 : jump c1 } +# kernel should return EOPNOTSUPP +$NFT add rule t c1 masquerade 2>/dev/null >&2 |