]> 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>
Mon, 11 Dec 2023 13:40:20 +0000 (14:40 +0100)
commit5fec559727ffd2c6c8958748beab782096385758
tree27bcdfd124c6e3f040871ebf7039943de1335690
parent8d3de823b622136e1d05a6fed11ff2dc0e804f8a
tests: py: missing json output in meta.t with vlan mapping

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