]> git.ipfire.org Git - thirdparty/nftables.git/blame - tests/shell/testcases/optimizations/merge_stmts_vmap
optimize: fix vmap with anonymous sets
[thirdparty/nftables.git] / tests / shell / testcases / optimizations / merge_stmts_vmap
CommitLineData
1542082e
PNA
1#!/bin/bash
2
3set -e
4
5RULESET="table ip x {
6 chain y {
7 ct state invalid drop
8 ct state established,related accept
9 }
99eb4696
PNA
10 chain z {
11 tcp dport { 1 } accept
12 tcp dport 2-3 drop
13 }
1542082e
PNA
14}"
15
16$NFT -o -f - <<< $RULESET