diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-04-27 00:10:51 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2006-04-27 00:10:51 +0000 |
commit | 218307d36556c9e9a5cdbfc987419e16d56d352d (patch) | |
tree | bb5c8fdb4fa5dd37ee4cabc25cd0e2299ed9b779 /pfinet/ethernet.c | |
parent | cb0476da388abdd0dbac4afdbdbe07f2a0224ecb (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/ethernet.c')
-rw-r--r-- | pfinet/ethernet.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 }; |