mirror of
https://github.com/nftables-rs/nftables-rs.git
synced 2026-10-15 08:01:20 +00:00
nft 1.1.4 changed the json output to return only a single string if there is only one flag set.[1,2] The same logic applies to some other types as well which I update in the following commits. [1] https://github.com/nftables-rs/nftables-rs/issues/183 [2] https://bugzilla.netfilter.org/show_bug.cgi?id=1806 Fixes #183 Signed-off-by: Paul Holzinger <pholzing@redhat.com>