diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-09 18:57:05 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-09 18:57:05 +0000 |
commit | b2632c5c8aa0c96f6076a2bf098443839d62b1f7 (patch) | |
tree | ca0284364617281d23a244152bbc7c3215b9a242 /extensions/ebt_vlan.c | |
parent | c87c964c57478952f88a66a7b3ef0b2d2ba428fd (diff) |
*** empty log message ***
Diffstat (limited to 'extensions/ebt_vlan.c')
-rw-r--r-- | extensions/ebt_vlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/ebt_vlan.c b/extensions/ebt_vlan.c index 76077cb..148cd87 100644 --- a/extensions/ebt_vlan.c +++ b/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"); /* |