diff options
author | Martin Matuska <mm@FreeBSD.org> | 2013-09-29 05:39:36 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2013-09-29 05:39:36 +0000 |
commit | 12e7884ead482c63dc2fc8fa83bd6ebf061e5225 (patch) | |
tree | 6c5144156ae03b45e32c8952f2d17496a94165d6 | |
parent | - Convert to staging (diff) |
Fix compilation with disabled IPV6
-rw-r--r-- | www/lighttpd/files/patch-src-mod_extforward.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/lighttpd/files/patch-src-mod_extforward.c b/www/lighttpd/files/patch-src-mod_extforward.c new file mode 100644 index 000000000000..d0a5cf3c8d26 --- /dev/null +++ b/www/lighttpd/files/patch-src-mod_extforward.c @@ -0,0 +1,10 @@ +--- src/mod_extforward.c.orig 2013-09-29 07:35:49.552153230 +0200 ++++ src/mod_extforward.c 2013-09-29 07:35:58.633202984 +0200 +@@ -439,7 +439,6 @@ + #ifdef HAVE_IPV6 + ipstr_to_sockaddr(srv, real_remote_addr, &sock); + #else +- UNUSED(addrs_left); + sock.ipv4.sin_addr.s_addr = inet_addr(real_remote_addr); + sock.plain.sa_family = (sock.ipv4.sin_addr.s_addr == 0xFFFFFFFF) ? AF_UNSPEC : AF_INET; + #endif |