summaryrefslogtreecommitdiffstats
path: root/tests/error.2
blob: 744a63d56dc9f790f33d1e91b9ec86941821a603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! nft -f

# mixed syntactical and non-syntactical errors in blocks
table filter {
	# missing identifier
	chain

	# missing chain block
	chain output

	chain output {
		tcp
		tcp dport
		tcp dport tcp
		tcp dport tcp dport
		tcp dport ssh
	}
}