☰
Debian Codegraph
@
1.1.7-1
1.1.6-1
/
/
tests
/
shell
/
testcases
/
transactions
/
0023rule_1
☽
☼
tests/shell/testcases/transactions/0023rule_1
code
plain
raw
GPL-2
2008 Patrick McHardy <
[email protected]
>
debian/copyright
1
#!/bin/bash
2
3
RULESET="add table x
4
add chain x y { type filter hook input priority 0; }
5
add rule x y jump y"
6
7
# kernel must return ELOOP
8
$NFT -f - <<< "$RULESET" 2>/dev/null || exit 0
9
echo "E: allowing jump to chain loop"
10
exit 1