Debian Codegraph @

tests/shell/testcases/chains/0043chain_ingress_0

raw
1 #!/bin/bash
2
3 # NFT_TEST_REQUIRES(NFT_TEST_HAVE_inet_ingress)
4
5 set -e
6 RULESET="table inet filter {
7 chain ingress {
8 type filter hook ingress device \"lo\" priority filter; policy accept;
9 }
10 chain input {
11 type filter hook input priority filter; policy accept;
12 }
13 chain forward {
14 type filter hook forward priority filter; policy accept;
15 }
16 }"
17
18 $NFT -f - <<< "$RULESET" && exit 0
19 exit 1