Author: jfrederic.clere(a)jboss.com
Date: 2012-04-05 03:38:23 -0400 (Thu, 05 Apr 2012)
New Revision: 2937
Modified:
trunk/build/patch/httpd-2.2.21.patch
Log:
Add patch for MODCLUSTER-298.
Modified: trunk/build/patch/httpd-2.2.21.patch
===================================================================
--- trunk/build/patch/httpd-2.2.21.patch 2012-04-05 07:33:51 UTC (rev 2936)
+++ trunk/build/patch/httpd-2.2.21.patch 2012-04-05 07:38:23 UTC (rev 2937)
@@ -177,3 +177,23 @@
# Clean up any leftovers
rm -f aclocal.m4 libtool.m4
+
+--- srclib/apr/network_io/unix/multicast.c 2012/04/04 11:17:32 1309331
++++ srclib/apr/network_io/unix/multicast.c 2012/04/04 11:20:43 1309332
+@@ -217,6 +217,7 @@
+ }
+ }
+ else if (sock_is_ipv6(sock)) {
++ unsigned int hopsopt = value;
+ if (type == IP_MULTICAST_TTL) {
+ type = IPV6_MULTICAST_HOPS;
+ }
+@@ -225,7 +226,7 @@
+ }
+
+ if (setsockopt(sock->socketdes, IPPROTO_IPV6, type,
+- &value, sizeof(value)) == -1) {
++ (const void *) &hopsopt, sizeof(hopsopt)) == -1) {
+ rv = errno;
+ }
+ }