]> git.pld-linux.org Git - packages/apache.git/commitdiff
- treat ENOPROTOOPT just like APR_ENOTIMPL - needed to work on Linux 2.4
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 3 Mar 2004 11:33:27 +0000 (11:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-v6only-ENOPROTOOPT.patch -> 1.1

apache-v6only-ENOPROTOOPT.patch [new file with mode: 0644]

diff --git a/apache-v6only-ENOPROTOOPT.patch b/apache-v6only-ENOPROTOOPT.patch
new file mode 100644 (file)
index 0000000..887911d
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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 @@
+ #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,
+                           "make_sock: for address %pI, apr_socket_opt_set: "
+                           "(IPV6_V6ONLY)",
This page took 0.159118 seconds and 4 git commands to generate.