summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nf_tables.h
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2022-09-04 19:18:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-09-05 15:08:56 +0200
commit9a879f675f383ef6d7fcaa7817eb048f90b35b9b (patch)
tree6106cab8886c5750d4f68da0a2fbb0d1e99e8357 /include/linux/netfilter/nf_tables.h
parent482fc1f21a40b7f2e11ddfc73e0b82027e68d345 (diff)
json: fix empty statement list output in sets and maps
JSON output of sets and map should not include the statements list if is empty. The statement output should be stateless also. In addition, removes duplicated code. Fixes: 07958ec53830 ("json: add set statement list support") Fixes: e66f3187d891 ("json: add table map statement support") Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/nf_tables.h')
0 files changed, 0 insertions, 0 deletions