From 4057319c56e8e6c097e059928866e094d10959e3 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Thu, 29 Aug 2002 16:48:36 +0000 Subject: *** empty log message *** --- extensions/ebt_arp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'extensions/ebt_arp.c') diff --git a/extensions/ebt_arp.c b/extensions/ebt_arp.c index f83146a..da3d9d6 100644 --- a/extensions/ebt_arp.c +++ b/extensions/ebt_arp.c @@ -176,8 +176,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_ARP && entry->ethproto != ETH_P_RARP) || + if ((entry->ethproto != ETH_P_ARP && entry->ethproto != ETH_P_RARP) || entry->invflags & EBT_IPROTO) print_error("For (R)ARP filtering the protocol must be " "specified as ARP or RARP"); -- cgit v1.2.3