]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: copy field_count for anonymous object maps as well
authorFlorian Westphal <fw@strlen.de>
Mon, 21 Mar 2022 16:03:41 +0000 (17:03 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 21 Mar 2022 16:06:02 +0000 (17:06 +0100)
commit60f5c10713d664d316dc87b29518feaef29b9a6f
tree1b9f473c3d9ab97fd01e8a03187e955faebc3dcd
parent4cf97abfee61209774151e051c93042d8bfab5ee
src: copy field_count for anonymous object maps as well

without this test fails with:

W: [FAILED]     tests/shell/testcases/maps/anon_objmap_concat: got 134
BUG: invalid range expression type concat
nft: expression.c:1452: range_expr_value_low: Assertion `0' failed.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/evaluate.c
tests/shell/testcases/maps/anon_objmap_concat [new file with mode: 0755]
tests/shell/testcases/maps/dumps/anon_objmap_concat.nft [new file with mode: 0644]