]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: missing json output in meta.t with vlan mapping
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Dec 2023 11:54:35 +0000 (12:54 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 31 Jul 2025 22:52:27 +0000 (00:52 +0200)
commitbb127efe3b96bdb9e0fb2b1e53ae7a62fb9509bd
tree61cf6469a56c01e715c30506701b5de0e1472bdb
parentccddb0b3ab6f77c3c4317e0b3428809d83e544b3
tests: py: missing json output in meta.t with vlan mapping

commit 5fec559727ffd2c6c8958748beab782096385758 upstream.

Fix this warning due to missing coverage:

 tests/py/any/meta.t.json.got: WARNING: line 2: Wrote JSON equivalent for rule meta mark set vlan id map { 1 : 0x00000001, 4095 : 0x00004095 }
 ERROR: did not find JSON equivalent for rule 'meta mark set vlan id map @map1

Fixes: 8d3de823b622 ("evaluate: reset statement length context before evaluating statement")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/any/meta.t.json