Blob Blame History Raw
#!/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"