]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: add a test case for ether and vlan listing
authorFlorian Westphal <fw@strlen.de>
Mon, 25 Jul 2022 17:31:22 +0000 (19:31 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 4 Aug 2022 23:46:39 +0000 (01:46 +0200)
commitf680055cd4377f2f531f5f77b3aaa7550988665d
tree6b398755009fcf974001ce918a9a17b68b2ac8a0
parentdbd5f348c71decf0baa8fb592c576f63fa232f50
tests: add a test case for ether and vlan listing

before this patch series, test fails dump validation:
-               update @macset { ether saddr . vlan id timeout 5s } counter packets 0 bytes 0
-               ether saddr . vlan id @macset
+               update @macset { @ll,48,48 . @ll,112,16 & 0xfff timeout 5s } counter packets 0 bytes 0
+               @ll,48,48 . @ll,112,16 & 0xfff @macset

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/sets/0070stacked_l2_headers [new file with mode: 0755]
tests/shell/testcases/sets/dumps/0070stacked_l2_headers.nft [new file with mode: 0644]