summaryrefslogtreecommitdiffstats
path: root/tests/py/bridge/reject.t.payload
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-04-02 12:54:53 +0200
committerFlorian Westphal <fw@strlen.de>2021-04-03 13:55:53 +0200
commit751336b7bffea4065bcd9f895eef3159addaba3e (patch)
tree841cccb108c75c53427cd84fb30c8ce3da3d2116 /tests/py/bridge/reject.t.payload
parente9e4c3c9092fdb447f13573f176b1c337f8efc4f (diff)
proto: replace vlan ether type with 8021q
Previous patches added "8021ad" mnemonic for IEEE 802.1AD frame type. This adds the 8021q shorthand for the existing 'vlan' frame type. nft will continue to recognize 'ether type vlan', but listing will now print 8021q. Adjust all test cases accordingly. Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/bridge/reject.t.payload')
-rw-r--r--tests/py/bridge/reject.t.payload2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/bridge/reject.t.payload b/tests/py/bridge/reject.t.payload
index 7deb6fbf..22569877 100644
--- a/tests/py/bridge/reject.t.payload
+++ b/tests/py/bridge/reject.t.payload
@@ -132,7 +132,7 @@ bridge
[ cmp eq reg 1 0x00000081 ]
[ reject type 1 code 0 ]
-# ether type vlan reject with icmpx type admin-prohibited
+# ether type 8021q reject with icmpx type admin-prohibited
bridge
[ payload load 2b @ link header + 12 => reg 1 ]
[ cmp eq reg 1 0x00000081 ]