From 751336b7bffea4065bcd9f895eef3159addaba3e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 2 Apr 2021 12:54:53 +0200 Subject: 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 Signed-off-by: Florian Westphal --- tests/py/any/meta.t.payload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/any/meta.t.payload') diff --git a/tests/py/any/meta.t.payload b/tests/py/any/meta.t.payload index 99aab29c..4e43905e 100644 --- a/tests/py/any/meta.t.payload +++ b/tests/py/any/meta.t.payload @@ -68,7 +68,7 @@ ip test-ip4 input [ meta load protocol => reg 1 ] [ lookup reg 1 set __set%d ] -# meta protocol != {ip, arp, ip6, vlan} +# meta protocol != {ip, arp, ip6, 8021q} __set%d test-ip4 3 __set%d test-ip4 0 element 00000008 : 0 [end] element 00000608 : 0 [end] element 0000dd86 : 0 [end] element 00000081 : 0 [end] -- cgit v1.2.3