summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0065_icmp_postprocessing
blob: f838c3ef1f27d156b4a77d564dcac4aafaaa7dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

RULESET="table ip x {
	chain foo {
		icmp id 42
	}
}"

$NFT -f - <<< $RULESET

$NFT insert rule ip x foo index 0 accept