summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-08 16:12:54 +0100
committerMartin Mares <mj@ucw.cz>1999-12-08 16:12:54 +0100
commit30bc402ebb324749f9468f8ff196545bb0a58442 (patch)
tree12b93e065f28d0e5f1d8d6ec5b292044cfca382d /sysdep/unix
parent0da472d7e867e31c49fccc4ee45df3ef47c29c9b (diff)
downloadbird-30bc402ebb324749f9468f8ff196545bb0a58442.tar
bird-30bc402ebb324749f9468f8ff196545bb0a58442.zip
Temporary work-arounds for multicast problems. Needs further investigation.
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 45db1a1..7e71d20 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -618,7 +618,11 @@ sk_open(sock *s)
strcpy(ifr.ifr_name, s->iface->name);
if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, &ifr, sizeof(ifr)) < 0)
ERR("SO_BINDTODEVICE");
+#if 0 /* FIXME */
mreq_add.imr_interface.s_addr = INADDR_ANY;
+#else
+ mreq_add.imr_interface = mreq;
+#endif
}
#else
#error Multicasts not supported on PtP devices /* FIXME: Solve it somehow? */