]> TLD Linux GIT Repositories - packages/apache.git/blob - apache-v6only-ENOPROTOOPT.patch
- adjusted for rpm.org, partial PLD merge
[packages/apache.git] / apache-v6only-ENOPROTOOPT.patch
1 --- httpd-2.0.48/server/listen.c.orig   Mon Mar 31 06:30:52 2003
2 +++ httpd-2.0.48/server/listen.c        Wed Mar  3 12:05:09 2004
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)",
12