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/reject.t | |
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/reject.t')
-rw-r--r-- | tests/py/bridge/reject.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/bridge/reject.t b/tests/py/bridge/reject.t index ee33af77..b242eef4 100644 --- a/tests/py/bridge/reject.t +++ b/tests/py/bridge/reject.t @@ -30,13 +30,13 @@ reject with icmpx type port-unreachable;ok;reject ether type ipv6 reject with icmp type host-unreachable;fail ether type ip6 reject with icmp type host-unreachable;fail ether type ip reject with icmpv6 type no-route;fail -ether type vlan reject;ok +ether type vlan reject;ok;ether type 8021q reject ether type arp reject;fail -ether type vlan reject with tcp reset;ok;meta l4proto 6 ether type vlan reject with tcp reset +ether type vlan reject with tcp reset;ok;meta l4proto 6 ether type 8021q reject with tcp reset ether type arp reject with tcp reset;fail ip protocol udp reject with tcp reset;fail ether type ip reject with icmpx type admin-prohibited;ok ether type ip6 reject with icmpx type admin-prohibited;ok -ether type vlan reject with icmpx type admin-prohibited;ok +ether type 8021q reject with icmpx type admin-prohibited;ok ether type arp reject with icmpx type admin-prohibited;fail |