View | Details | Raw Unified | Return to bug 115200
Collapse All | Expand All

(-)files/patch-srclib-apr-network_io-unix-multicast.c (+23 lines)
Added Link Here
1
--- srclib/apr/network_io/unix/multicast.c.orig	2007-08-05 00:58:21.000000000 +0300
2
+++ srclib/apr/network_io/unix/multicast.c	2007-08-05 00:59:51.000000000 +0300
3
@@ -57,11 +57,10 @@
4
     }
5
 }
6
 
7
-#if APR_HAVE_IPV6
8
 static unsigned int find_if_index(const apr_sockaddr_t *iface)
9
 {
10
     unsigned int index = 0;
11
-#ifdef HAVE_GETIFADDRS
12
+#if defined(HAVE_GETIFADDRS) && APR_HAVE_IPV6
13
     struct ifaddrs *ifp, *ifs;
14
 
15
     /**
16
@@ -92,6 +91,7 @@
17
     return index;
18
 }
19
 
20
+#if APR_HAVE_IPV6
21
 static void fill_mip_v6(struct ipv6_mreq *mip, const apr_sockaddr_t *mcast,
22
                         const apr_sockaddr_t *iface)
23
 {

Return to bug 115200