summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0001flowtable_0
blob: 2e18099452a0050e82f7d9ffcaffe20f9c1de2a1 (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"