summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optimizations/merge_stmts_concat_vmap
blob: f1ab0288ab0dafda0324137191e3062adabc126c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

RULESET="table ip x {
	chain y {
		ip saddr 1.1.1.1 ip daddr 2.2.2.2 accept
		ip saddr 2.2.2.2 ip daddr 3.3.3.3 drop
		ip saddr 4.4.4.4 ip daddr 5.5.5.5 accept
	}
}"

$NFT -o -f - <<< $RULESET