diff options
author | Florian Westphal <fw@strlen.de> | 2021-01-30 19:58:42 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-02-22 14:57:49 +0100 |
commit | 4ab1e5e6077918b5b0b4553daa907a725d4cd0fe (patch) | |
tree | 21bb70c5b86ad2d89372c7a7374637886ae19f02 /tests/shell/testcases/chains/dumps/0035policy_variable_0.nft | |
parent | b9e871cb6f5bf17376955acff55bce264e8355aa (diff) |
src: allow use of 'verdict' in typeof definitions
'verdict' cannot be used as part of a map typeof-based key definition,
its a datatype and not an expression, e.g.:
typeof iifname . ip protocol . th dport : verdic
... will fail.
Make the parser convert a 'verdict' symbol to a verdict expression
and allow to store its presence as part of the typeof key definition.
Reported-by: Frank Myhr <fmyhr@fhmtech.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/chains/dumps/0035policy_variable_0.nft')
0 files changed, 0 insertions, 0 deletions