diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2022-09-04 19:18:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-09-05 15:08:56 +0200 |
commit | 9a879f675f383ef6d7fcaa7817eb048f90b35b9b (patch) | |
tree | 6106cab8886c5750d4f68da0a2fbb0d1e99e8357 /COPYING | |
parent | 482fc1f21a40b7f2e11ddfc73e0b82027e68d345 (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 'COPYING')
0 files changed, 0 insertions, 0 deletions