Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: shell: add nft-f/0022variables_0 dump file | Pablo Neira Ayuso | 2021-08-20 | 1 | -5/+0 |
| | | | | | | Dump file was missing. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | src: allow variables in the chain priority specification | Fernando Fernandez Mancera | 2019-08-08 | 1 | -0/+5 |
This patch allows you to use variables in chain priority definitions, e.g. define prio = filter define prionum = 10 define prioffset = "filter - 150" add table ip foo add chain ip foo bar { type filter hook input priority $prio; } add chain ip foo ber { type filter hook input priority $prionum; } add chain ip foo bor { type filter hook input priority $prioffset; } Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |