summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0045concat_ipv4_service.nft
blob: e548a17a142d8a7a0db4297cb3ebc0f9c72a27bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
table inet t {
	set s {
		type ipv4_addr . inet_service
		size 65536
		flags dynamic,timeout
		elements = { 192.168.7.1 . 22 }
	}

	chain c {
		tcp dport 21 add @s { ip saddr . 22 timeout 1m }
	}
}