]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
networking.c:
authorDave Hart <hart@ntp.org>
Wed, 28 Oct 2009 09:19:39 +0000 (09:19 +0000)
committerDave Hart <hart@ntp.org>
Wed, 28 Oct 2009 09:19:39 +0000 (09:19 +0000)
  2nd half of [Bug 1158] in recv_bcast_data()

bk: 4ae80cabNHcEVVC2jZ6MWlwkp51lMg

sntp/networking.c

index a78eec16d61f3bc05019f3f6fe17fba451477ffb..66c39ebe24c5005d33b052a11587351d48f6e835 100644 (file)
@@ -333,7 +333,7 @@ recv_bcst_data (
 
        if (IS_IPV4(sas)) 
                setsockopt(rsock, IPPROTO_IP, IP_DROP_MEMBERSHIP, &btrue, sizeof(btrue));
-#ifdef ISC_PLATFORM_HAVEIPV6
+#ifdef INCLUDE_IPV6_MULTICAST_SUPPORT
        else if (IS_IPV6(sas))
                setsockopt(rsock, IPPROTO_IPV6, IPV6_LEAVE_GROUP, &btrue, sizeof(btrue));
 #endif