]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Typo, should have checked for INT_MULTICAST instead of INT_BROADCAST
authorDanny Mayer <mayer@ntp.org>
Mon, 16 Aug 2004 03:32:21 +0000 (23:32 -0400)
committerDanny Mayer <mayer@ntp.org>
Mon, 16 Aug 2004 03:32:21 +0000 (23:32 -0400)
bk: 41202ac5b5z-GzjQ5bxUtb5zamIjxw

ntpd/ntp_io.c

index d5c8ad198dacc9edcf1d2ee758488350e37e5dab..b8f8019a0a9c2ac8081d6928fefa00001781a5a4 100644 (file)
@@ -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);
                }