summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/ChangeLog5
-rw-r--r--pfinet/ethernet.c5
2 files changed, 10 insertions, 0 deletions
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 <tschwinge@gnu.org>
+
+ * ethernet.c (ether_filter) [NETF_IN]: Prefix `NETF_IN' to the actual
+ rules.
+
2006-03-15 Thomas Schwinge <tschwinge@gnu.org>
* 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
};