blob: 4f9872f631304ee205dee6e50e23d667bce00666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
EXPECTED='table ip filter {
ct expectation ctexpect{
protocol tcp
dport 9876
timeout 1m
size 12
l3proto ip
}
chain c {
ct expectation set "ctexpect"
}
}'
set -e
$NFT -f - <<< "$EXPECTED"
|