summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-06-01 15:31:43 +0000
committerMartin Mares <mj@ucw.cz>1999-06-01 15:31:43 +0000
commitbd7f1081f24aa6ca4cdba004478742b730644a91 (patch)
tree1db3cb0cb8f4437f96ecd862a8b4893c53e421b3 /sysdep/unix
parent3e1f30610e109b3eff7e3d8b420c4b7988bd3152 (diff)
Grrr, the "obvious fix" to multicasting code from yesterday was
fundamentally wrong. Reversed.
Diffstat (limited to 'sysdep/unix')
-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 e264079a..6d44f809 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)
{