]> 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)
committerFlorian Westphal <fw@strlen.de>
Wed, 4 Jun 2025 10:41:10 +0000 (12:41 +0200)
commitc2ee1d5978bf6ea10e3b1a74125da5b5e8468f26
tree14ddfb4bd49b7fe41d77fd3400117558ca68dc12
parent883f79de486604e310c5093cfbe4d704794e4825
tests: py: fix json single-flag output for fib & synproxy

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]