From 79502bd43f07907a3a695a971a050b9de632db79 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Fri, 9 Aug 2002 18:57:05 +0000 Subject: *** empty log message *** --- userspace/ebtables2/extensions/ebt_vlan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'userspace/ebtables2/extensions/ebt_vlan.c') diff --git a/userspace/ebtables2/extensions/ebt_vlan.c b/userspace/ebtables2/extensions/ebt_vlan.c index 76077cb..148cd87 100644 --- a/userspace/ebtables2/extensions/ebt_vlan.c +++ b/userspace/ebtables2/extensions/ebt_vlan.c @@ -225,7 +225,8 @@ final_check (const struct ebt_u_entry *entry, /* * Is any proto param specified there? Or specified proto isn't 802.1Q? */ - if (entry->bitmask & EBT_NOPROTO || entry->ethproto != ETH_P_8021Q) + if (entry->bitmask & EBT_NOPROTO || entry->ethproto != ETH_P_8021Q || + entry->invflags & EBT_IPROTO) print_error ("For use 802.1Q extension the protocol must be specified as 802_1Q"); /* -- cgit v1.2.3