]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: fix json single-flag output for fib & synproxy
authorFlorian Westphal <fw@strlen.de>
Mon, 2 Jun 2025 12:12:16 +0000 (14:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 31 Jul 2025 22:55:14 +0000 (00:55 +0200)
commit4725f4887da84b1b6bbfd0c138bc48a707301fa1
treeccf27f09d935e04305d4570e79cc5e44ba7e0ebe
parent58ca69f04b3fb73aa8cc580a46de957400ad9064
tests: py: fix json single-flag output for fib & synproxy

commit c2ee1d5978bf6ea10e3b1a74125da5b5e8468f26 upstream.

Blamed commits change output format but did not adjust existing tests:
  inet/fib.t: WARNING: line 16: '{"nftables": ..

Fixes: 38f99ee84fe6 ("json: Print single synproxy flags as non-array")
Fixes: dbe5c44f2b89 ("json: Print single fib flag as non-array")
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Phil Sutter <phil@nwl.cc>
tests/py/inet/fib.t.json.output
tests/py/inet/synproxy.t.json.output [new file with mode: 0644]