summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/chain/0004extra-base_0
blob: 1b85b060c14872e072164fe1103c46dbeb8dab78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

case $XT_MULTI in
*xtables-nft-multi)
	;;
*)
	echo skip $XT_MULTI
	exit 0
	;;
esac

set -e

nft -f - <<EOF
table ip filter {
        chain INPUT {
                type filter hook input priority filter
                counter packets 218 bytes 91375 accept
        }

        chain x {
                type filter hook input priority filter
        }
}
EOF

$XT_MULTI iptables -L