blob: 8aaa7bb10d592e1caf0b12319f5cfd0f299c38b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# Tests recursive definition of a variable.
set -e
RULESET="
define var1 = \$var1
table ip t {
chain c {
iif \$var1
}
}"
$NFT -f - <<< $RULESET
|