diff options
author | Mark <mark@glines.org> | 2023-12-12 09:30:40 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@netfilter.org> | 2023-12-12 09:30:40 +0100 |
commit | 8b3824f9e209754135e7afa52a8f056eabb3442b (patch) | |
tree | e7d62821a203dfccad46ca6b1e7cba8a6f3e1d51 /kernel/include/linux/netfilter/ipset/ip_set.h | |
parent | ca62c0e1640e5d112679044434227024690b53bc (diff) |
Fix json output for -name option
When listing just the set names,json output generated key:value pairs
in an array and not a map, which is invalid in json. Instead of
[
"name" : "test"
"name" : "test2"
]
generate
[
{ "name" : "test" },
{ "name" : "test2" }
]
Fixes bugzilla #1726.
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'kernel/include/linux/netfilter/ipset/ip_set.h')
0 files changed, 0 insertions, 0 deletions