summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_vlan.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-08-29 16:48:36 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-08-29 16:48:36 +0000
commit4057319c56e8e6c097e059928866e094d10959e3 (patch)
treeebf39c5cbd54a32b59f5e64fa7f2056d82da20b0 /extensions/ebt_vlan.c
parent76712df9952ee8de848e500f99a5f013bea7cf64 (diff)
*** empty log message ***
Diffstat (limited to 'extensions/ebt_vlan.c')
-rw-r--r--extensions/ebt_vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/ebt_vlan.c b/extensions/ebt_vlan.c
index 1bab20c..382961f 100644
--- a/extensions/ebt_vlan.c
+++ b/extensions/ebt_vlan.c
@@ -221,9 +221,9 @@ final_check (const struct ebt_u_entry *entry,
struct ebt_vlan_info *vlaninfo =
(struct ebt_vlan_info *) match->data;
/*
- * Is any proto param specified there? Or specified proto isn't 802.1Q?
+ * Specified proto isn't 802.1Q?
*/
- if (entry->bitmask & EBT_NOPROTO || entry->ethproto != ETH_P_8021Q ||
+ if (entry->ethproto != ETH_P_8021Q ||
entry->invflags & EBT_IPROTO)
print_error
("For use 802.1Q extension the protocol must be specified as 802_1Q");