summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0017masquerade_jump_1
blob: a57675f5031750d4ee2bc08be524d04df8ef0770 (plain)
1
2
3
4
5
6
7
8
9
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 jump c1
# kernel should return EOPNOTSUPP
$NFT add rule t c1 masquerade 2>/dev/null >&2