From: Danny Mayer Date: Sat, 4 Sep 2004 02:04:08 +0000 (-0400) Subject: INT_MULTICAST now INT_MCASTOPEN X-Git-Tag: NTP_4_2_3~118^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a73c9affde7c2b7fd774101b50ee94000cf90eb7;p=thirdparty%2Fntp.git INT_MULTICAST now INT_MCASTOPEN bk: 41392298U7uG52n_zoaAX9rkROshXA --- diff --git a/ntpd/ntp_monitor.c b/ntpd/ntp_monitor.c index 6b288fc32f..b033dcd005 100644 --- a/ntpd/ntp_monitor.c +++ b/ntpd/ntp_monitor.c @@ -266,7 +266,7 @@ ntp_monitor( md->mode = (u_char) mode; md->version = PKT_VERSION(pkt->li_vn_mode); md->interface = rbufp->dstadr; - md->cast_flags = (u_char)(((rbufp->dstadr->flags & INT_MULTICAST) && + md->cast_flags = (u_char)(((rbufp->dstadr->flags & INT_MCASTOPEN) && rbufp->fd == md->interface->fd) ? MDF_MCAST: rbufp->fd == md->interface->bfd ? MDF_BCAST : MDF_UCAST); diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 3ee7aaa333..44681e05fa 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -646,7 +646,7 @@ receive( * server response. Otherwise, it must be a client * request, so send a server response and go home. */ - if (rbufp->dstadr->flags & INT_MULTICAST) { + if (rbufp->dstadr->flags & INT_MCASTOPEN) { /* * Do not respond to multicast if not configured @@ -2759,7 +2759,7 @@ fast_xmit( * go out another way. */ rpkt = &rbufp->recv_pkt; - if (rbufp->dstadr->flags & INT_MULTICAST) + if (rbufp->dstadr->flags & INT_MCASTOPEN) rbufp->dstadr = findinterface(&rbufp->recv_srcadr); /*