summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-04-27 00:10:51 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-04-27 00:10:51 +0000
commit218307d36556c9e9a5cdbfc987419e16d56d352d (patch)
treebb5c8fdb4fa5dd37ee4cabc25cd0e2299ed9b779 /pfinet
parentcb0476da388abdd0dbac4afdbdbe07f2a0224ecb (diff)
2006-04-27 Thomas Schwinge <tschwinge@gnu.org>
* ethernet.c (ether_filter) [NETF_IN]: Prefix `NETF_IN' to the actual rules.
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
};