summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_ip.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-08-09 18:57:05 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-08-09 18:57:05 +0000
commitb2632c5c8aa0c96f6076a2bf098443839d62b1f7 (patch)
treeca0284364617281d23a244152bbc7c3215b9a242 /extensions/ebt_ip.c
parentc87c964c57478952f88a66a7b3ef0b2d2ba428fd (diff)
*** empty log message ***
Diffstat (limited to 'extensions/ebt_ip.c')
-rw-r--r--extensions/ebt_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ebt_ip.c b/extensions/ebt_ip.c
index 0deb3e0..91014e4 100644
--- a/extensions/ebt_ip.c
+++ b/extensions/ebt_ip.c
@@ -222,7 +222,7 @@ static void final_check(const struct ebt_u_entry *entry,
unsigned int hook_mask, unsigned int time)
{
if (entry->bitmask & EBT_NOPROTO || entry->bitmask & EBT_802_3 ||
- entry->ethproto != ETH_P_IP)
+ entry->ethproto != ETH_P_IP || entry->invflags & EBT_IPROTO)
print_error("For IP filtering the protocol must be "
"specified as IPv4");
}