]> git.ipfire.org Git - thirdparty/nftables.git/commit
JSON: Disallow non-array concat expression values
authorPhil Sutter <phil@nwl.cc>
Mon, 28 May 2018 16:50:58 +0000 (18:50 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Jun 2018 07:16:48 +0000 (09:16 +0200)
commitb32e20c51028cef839f8f40e95673c320a930f2b
tree44a2453d6879eaae3725569e7565b85fe673e911
parentb85f8b8670260587ec2c78a1252109dddc0ffffe
JSON: Disallow non-array concat expression values

Concat expressions with just a single element don't make sense, so
there's no point in supporting a shorter syntax for this.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/parser_json.c