FreeBSD Bugzilla – Attachment 80306 Details for
Bug 115200
[PATCH] www/apache22: Fix build without ipv6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
if_index.diff
if_index.diff (text/plain), 1.00 KB, created by
Andrey Slusar
on 2007-08-04 23:10:01 UTC
(
hide
)
Description:
if_index.diff
Filename:
MIME Type:
Creator:
Andrey Slusar
Created:
2007-08-04 23:10:01 UTC
Size:
1.00 KB
patch
obsolete
>Index: files/patch-srclib-apr-network_io-unix-multicast.c >=================================================================== >RCS file: files/patch-srclib-apr-network_io-unix-multicast.c >diff -N files/patch-srclib-apr-network_io-unix-multicast.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-srclib-apr-network_io-unix-multicast.c 4 Aug 2007 22:02:15 -0000 >@@ -0,0 +1,23 @@ >+--- srclib/apr/network_io/unix/multicast.c.orig 2007-08-05 00:58:21.000000000 +0300 >++++ srclib/apr/network_io/unix/multicast.c 2007-08-05 00:59:51.000000000 +0300 >+@@ -57,11 +57,10 @@ >+ } >+ } >+ >+-#if APR_HAVE_IPV6 >+ static unsigned int find_if_index(const apr_sockaddr_t *iface) >+ { >+ unsigned int index = 0; >+-#ifdef HAVE_GETIFADDRS >++#if defined(HAVE_GETIFADDRS) && APR_HAVE_IPV6 >+ struct ifaddrs *ifp, *ifs; >+ >+ /** >+@@ -92,6 +91,7 @@ >+ return index; >+ } >+ >++#if APR_HAVE_IPV6 >+ static void fill_mip_v6(struct ipv6_mreq *mip, const apr_sockaddr_t *mcast, >+ const apr_sockaddr_t *iface) >+ {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 115200
: 80306