diff options
author | Florian Westphal <fw@strlen.de> | 2021-04-02 12:54:53 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-04-03 13:55:53 +0200 |
commit | 751336b7bffea4065bcd9f895eef3159addaba3e (patch) | |
tree | 841cccb108c75c53427cd84fb30c8ce3da3d2116 /tests/py/bridge/vlan.t.payload.netdev | |
parent | e9e4c3c9092fdb447f13573f176b1c337f8efc4f (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/vlan.t.payload.netdev')
-rw-r--r-- | tests/py/bridge/vlan.t.payload.netdev | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/bridge/vlan.t.payload.netdev b/tests/py/bridge/vlan.t.payload.netdev index 94ca6867..22e244e2 100644 --- a/tests/py/bridge/vlan.t.payload.netdev +++ b/tests/py/bridge/vlan.t.payload.netdev @@ -260,7 +260,7 @@ netdev [ cmp eq reg 1 0x00000006 ] [ immediate reg 0 accept ] -# ether type 8021ad vlan id 1 vlan type vlan vlan id 2 vlan type ip counter +# ether type 8021ad vlan id 1 vlan type 8021q vlan id 2 vlan type ip counter netdev [ meta load iiftype => reg 1 ] [ cmp eq reg 1 0x00000001 ] @@ -278,7 +278,7 @@ netdev [ cmp eq reg 1 0x00000008 ] [ counter pkts 0 bytes 0 ] -# ether type 8021ad vlan id 1 vlan type vlan vlan id 2 vlan type ip ip protocol 6 +# ether type 8021ad vlan id 1 vlan type 8021q vlan id 2 vlan type ip ip protocol 6 netdev [ meta load iiftype => reg 1 ] [ cmp eq reg 1 0x00000001 ] |