]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_json: Support ranges in concat expressions
authorPhil Sutter <phil@nwl.cc>
Fri, 6 Mar 2020 15:15:48 +0000 (16:15 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 10 Mar 2020 15:28:17 +0000 (16:28 +0100)
commit9475ca305a993751b05cf26ef8e785a00de98b94
treeb24a9d9469e7286f018778e29c353c96fba750b2
parent15416003f339fd16ae4a15553744c04941637bf3
parser_json: Support ranges in concat expressions

Duplicate commit 8ac2f3b2fca38's changes to bison parser into JSON
parser by introducing a new context flag signalling we're parsing
concatenated expressions.

Fixes: 8ac2f3b2fca38 ("src: Add support for concatenated set ranges")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Eric Garver <eric@garver.life>
src/parser_json.c