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

set -e

RULESET="table inet x {
	chain y {
		iifname "eth0" oifname != "eth0" counter packets 0 bytes 0 accept
		iifname "eth0" oifname "eth0" counter packets 0 bytes 0 accept
	}
}"

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