summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/0012map_0.nft
blob: e734fc1c70b9383d436c91abb5c95a0139eaebe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
table ip x {
	map z {
		type ifname : verdict
		elements = { "lo" : accept,
			     "eth0" : drop,
			     "eth1" : drop }
	}

	chain y {
		iifname vmap { "lo" : accept, "eth0" : drop, "eth1" : drop }
	}
}