diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-29 16:48:36 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-29 16:48:36 +0000 |
commit | 65da9635a46a30b9ff9d4ec72ee3e7291be926f2 (patch) | |
tree | bfd2d4651afff11c7bd678114a69f8ad6d061e93 /userspace/ebtables2/extensions/ebt_ip.c | |
parent | b070a319e3589efb8731f264e372054953a1ff59 (diff) |
*** empty log message ***
Diffstat (limited to 'userspace/ebtables2/extensions/ebt_ip.c')
-rw-r--r-- | userspace/ebtables2/extensions/ebt_ip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/userspace/ebtables2/extensions/ebt_ip.c b/userspace/ebtables2/extensions/ebt_ip.c index 94daef3..7080505 100644 --- a/userspace/ebtables2/extensions/ebt_ip.c +++ b/userspace/ebtables2/extensions/ebt_ip.c @@ -219,8 +219,7 @@ static void final_check(const struct ebt_u_entry *entry, const struct ebt_entry_match *match, const char *name, unsigned int hookmask, unsigned int time) { - if (entry->bitmask & EBT_NOPROTO || entry->bitmask & EBT_802_3 || - entry->ethproto != ETH_P_IP || entry->invflags & EBT_IPROTO) + if (entry->ethproto != ETH_P_IP || entry->invflags & EBT_IPROTO) print_error("For IP filtering the protocol must be " "specified as IPv4"); } |