diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-24 01:08:35 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-24 01:08:35 +0100 |
commit | 9c1bdc1b967b625dba29bdb68aa338f95e705399 (patch) | |
tree | f88b369e29795db8ab23633d2fbd890148d9dfe6 /pfinet | |
parent | 21b9f4748d79dd561edcb45bdd0b514d7a0bed84 (diff) |
Fix IPv6 by receiving all multicast
* pfinet/ethernet.c (setup_ethernet_device): Add IFF_ALLMULTI to dev->flags.
Diffstat (limited to 'pfinet')
-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 dfc2c114..5d080730 100644 --- a/pfinet/ethernet.c +++ b/pfinet/ethernet.c @@ -308,6 +308,11 @@ setup_ethernet_device (char *name, struct device **device) dev->addr_len = ETH_ALEN; memset (dev->broadcast, 0xff, ETH_ALEN); dev->flags = IFF_BROADCAST | IFF_MULTICAST; + + /* FIXME: Receive all multicast to fix IPv6, until we implement + ethernet_set_multi. */ + dev->flags |= IFF_ALLMULTI; + dev_init_buffers (dev); ethernet_open (dev); |