summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0028variable_cmdline_0
Commit message (Collapse)AuthorAgeFilesLines
* src: add --define key=valuePablo Neira Ayuso2021-07-201-0/+17
This patch adds a new option to define variables from the command line. # cat test.nft table netdev x { chain y { type filter hook ingress devices = $dev priority 0; counter accept } } # nft --define dev="{ eth0, eth1 }" -f test.nft You can only combine it with -f/--filename. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>