summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0001flowtable_0
blob: 8336ec5a8f37f4dacc59b9ad8236db700dec45dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

EXPECTED='table inet t {
	flowtable f {
		hook ingress priority 10
		devices = { lo }
	}

	chain c {
		flow add @f
	}
}'

set -e
$NFT -f - <<< $EXPECTED