From 218307d36556c9e9a5cdbfc987419e16d56d352d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 27 Apr 2006 00:10:51 +0000 Subject: 2006-04-27 Thomas Schwinge * ethernet.c (ether_filter) [NETF_IN]: Prefix `NETF_IN' to the actual rules. --- pfinet/ChangeLog | 5 +++++ pfinet/ethernet.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'pfinet') diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog index 41949c71..6a1bbc6d 100644 --- a/pfinet/ChangeLog +++ b/pfinet/ChangeLog @@ -1,3 +1,8 @@ +2006-04-27 Thomas Schwinge + + * ethernet.c (ether_filter) [NETF_IN]: Prefix `NETF_IN' to the actual + rules. + 2006-03-15 Thomas Schwinge * glue-include/asm/system.h (xchg): Fix invalid lvalue. diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c index 1ae6e67d..940b78c2 100644 --- a/pfinet/ethernet.c +++ b/pfinet/ethernet.c @@ -68,6 +68,11 @@ ethernet_set_multi (struct device *dev) static short ether_filter[] = { +#ifdef NETF_IN + /* We have to tell the packet filtering code that we're interested in + incoming packets. */ + NETF_IN, /* Header. */ +#endif NETF_PUSHLIT | NETF_NOP, 1 }; -- cgit v1.2.3