From: Danny Mayer Date: Mon, 16 Aug 2004 03:32:21 +0000 (-0400) Subject: Typo, should have checked for INT_MULTICAST instead of INT_BROADCAST X-Git-Tag: NTP_4_2_3~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d880739a123726741ccd5c75f0162cd57fad774;p=thirdparty%2Fntp.git Typo, should have checked for INT_MULTICAST instead of INT_BROADCAST bk: 41202ac5b5z-GzjQ5bxUtb5zamIjxw --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index d5c8ad198d..b8f8019a0a 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -2225,7 +2225,7 @@ find_interface_index( * we need to take account of that */ if (addr->ss_family == AF_INET6) { - if (flagtype == INT_BROADCAST) { + if (flagtype == INT_MULTICAST) { is_sitelocal = IN6_IS_ADDR_MC_SITELOCAL(&((struct sockaddr_in6*)addr)->sin6_addr); is_linklocal = IN6_IS_ADDR_MC_LINKLOCAL(&((struct sockaddr_in6*)addr)->sin6_addr); }