summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-06-01 17:31:43 +0200
committerMartin Mares <mj@ucw.cz>1999-06-01 17:31:43 +0200
commitbd7f1081f24aa6ca4cdba004478742b730644a91 (patch)
tree1db3cb0cb8f4437f96ecd862a8b4893c53e421b3 /sysdep
parent3e1f30610e109b3eff7e3d8b420c4b7988bd3152 (diff)
downloadbird-bd7f1081f24aa6ca4cdba004478742b730644a91.tar
bird-bd7f1081f24aa6ca4cdba004478742b730644a91.zip
Grrr, the "obvious fix" to multicasting code from yesterday was
fundamentally wrong. Reversed.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index e264079..6d44f80 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -432,9 +432,9 @@ sk_open(sock *s)
}
#else
#error Multicasts not supported on PtP devices /* FIXME: Solve it somehow? */
-#endif
mreq_add.imr_interface = mreq;
#endif
+#endif
set_inaddr(&mreq_add.imr_multiaddr, s->daddr);
if (has_dest)
{