Fix potential multicasting bug.

This commit is contained in:
Martin Mares 1999-05-31 20:28:46 +00:00
parent 9607536dbf
commit c7208da0b7

View file

@ -432,8 +432,8 @@ sk_open(sock *s)
} }
#else #else
#error Multicasts not supported on PtP devices /* FIXME: Solve it somehow? */ #error Multicasts not supported on PtP devices /* FIXME: Solve it somehow? */
mreq_add.imr_interface = mreq;
#endif #endif
mreq_add.imr_interface = mreq;
#endif #endif
set_inaddr(&mreq_add.imr_multiaddr, s->daddr); set_inaddr(&mreq_add.imr_multiaddr, s->daddr);
if (has_dest) if (has_dest)