summaryrefslogtreecommitdiffstats
path: root/tests/json_echo
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-05-27 13:37:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-27 18:56:24 +0200
commitc34ad1653ff98db5d1ddceab663401055ac7ae4c (patch)
tree4336372d1e268da81d49ba09c8d23f18aa1f222f /tests/json_echo
parent9e64df7227507aaced570c23ebd665cb24a1073f (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/json_echo')
0 files changed, 0 insertions, 0 deletions