summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0009variable_0
blob: e073d86c5078eea643a51cf38b0c8f582eb06254 (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"