diff options
author | Phil Sutter <phil@nwl.cc> | 2019-05-27 13:37:00 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-27 18:56:24 +0200 |
commit | c34ad1653ff98db5d1ddceab663401055ac7ae4c (patch) | |
tree | 4336372d1e268da81d49ba09c8d23f18aa1f222f /tests/shell/testcases/maps/different_map_types_1 | |
parent | 9e64df7227507aaced570c23ebd665cb24a1073f (diff) |
parser_json: Fix and simplify verdict expression parsing
Parsing of the "target" property was flawed in two ways:
* The value was extracted twice. Drop the first unconditional one.
* Expression allocation required since commit f1e8a129ee428 was broken,
The expression was allocated only if the property was not present.
Fixes: f1e8a129ee428 ("src: Introduce chain_expr in jump and goto statements")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/maps/different_map_types_1')
0 files changed, 0 insertions, 0 deletions