]> TLD Linux GIT Repositories - packages/apache.git/blob - apache-v6only-ENOPROTOOPT.patch
- mod_authn/z_core provide mod_authn/z_default to smooth upgrade
[packages/apache.git] / apache-v6only-ENOPROTOOPT.patch
1 --- httpd-2.4.1/server/listen.c.orig    2011-12-05 01:08:01.000000000 +0100
2 +++ httpd-2.4.1/server/listen.c 2012-02-22 00:22:21.899829142 +0100
3 @@ -76,7 +76,7 @@
4  #if APR_HAVE_IPV6
5      if (server->bind_addr->family == APR_INET6) {
6          stat = apr_socket_opt_set(s, APR_IPV6_V6ONLY, v6only_setting);
7 -        if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
8 +       if (stat != APR_SUCCESS && stat != APR_ENOTIMPL && stat != ENOPROTOOPT) {
9              ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p, APLOGNO(00069)
10                            "make_sock: for address %pI, apr_socket_opt_set: "
11                            "(IPV6_V6ONLY)",