summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0009variable_0
blob: 8ff6b7cf20bcd882874a0399b93925768c40d986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e

RULESET="define concat-set-variable = { 10.10.10.10 . 25, 10.10.10.10 . 143 }

table inet forward {
	set concat-set-variable {
		type ipv4_addr . inet_service
		elements = \$concat-set-variable
	}
}"

$NFT -f - <<< $RULESET