]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache-v6only-ENOPROTOOPT.patch
- Up to 2.4.52
[packages/apache.git] / apache-v6only-ENOPROTOOPT.patch
index 887911d30517f0e97fc47833f1b843e1f11af7b3..ba6da25284ad6e5ec91fbb7a00d1df5af53f57dc 100644 (file)
@@ -1,11 +1,12 @@
 --- httpd-2.0.48/server/listen.c.orig  Mon Mar 31 06:30:52 2003
 +++ httpd-2.0.48/server/listen.c       Wed Mar  3 12:05:09 2004
-@@ -120,7 +120,7 @@
+@@ -76,7 +76,7 @@
  #if APR_HAVE_IPV6
      if (server->bind_addr->family == APR_INET6) {
          stat = apr_socket_opt_set(s, APR_IPV6_V6ONLY, v6only_setting);
 -        if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
 +        if (stat != APR_SUCCESS && stat != APR_ENOTIMPL && stat != ENOPROTOOPT) {
-             ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p,
+             ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p, APLOGNO(00069)
                            "make_sock: for address %pI, apr_socket_opt_set: "
                            "(IPV6_V6ONLY)",
+