From: Danny Mayer Date: Sun, 3 Apr 2005 00:05:57 +0000 (-0500) Subject: Use any for the IPv4 join interface for mcast X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44e6ef82e81e4bd944dcb53fc6368fb5d1b43a4;p=thirdparty%2Fntp.git Use any for the IPv4 join interface for mcast bk: 424f3365mtVR3y9iC9VYCIJTBUViNQ --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 93214fe4c5..4481d36e5d 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -864,7 +864,7 @@ socket_multicast_enable(struct interface *iface, int ind, struct sockaddr_storag case AF_INET: mreq.imr_multiaddr = (((struct sockaddr_in*)maddr)->sin_addr); mreq.imr_interface.s_addr = ((struct sockaddr_in*)&iface->sin)->sin_addr.s_addr; -/* mreq.imr_interface.s_addr = htonl(INADDR_ANY); */ + mreq.imr_interface.s_addr = htonl(INADDR_ANY); if (setsockopt(iface->fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char *)&mreq, sizeof(mreq)) == -1) { netsyslog(LOG_ERR,