summaryrefslogtreecommitdiff
path: root/www/mod_auth_external2/files/patch-mod_auth_external.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_auth_external2/files/patch-mod_auth_external.c')
-rw-r--r--www/mod_auth_external2/files/patch-mod_auth_external.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/www/mod_auth_external2/files/patch-mod_auth_external.c b/www/mod_auth_external2/files/patch-mod_auth_external.c
deleted file mode 100644
index 21de308e2c57..000000000000
--- a/www/mod_auth_external2/files/patch-mod_auth_external.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- mod_auth_external.c.orig 2006-02-15 22:44:53 UTC
-+++ mod_auth_external.c
-@@ -500,8 +500,13 @@
- if (remote_host != NULL)
- child_env[i++]= apr_pstrcat(r->pool, ENV_HOST"=", remote_host, NULL);
-
-+#if MODULE_MAGIC_NUMBER_MAJOR >= 20111130
-+ if (c->client_ip)
-+ child_env[i++]= apr_pstrcat(r->pool, ENV_IP"=", c->client_ip, NULL);
-+#else
- if (c->remote_ip)
- child_env[i++]= apr_pstrcat(r->pool, ENV_IP"=", c->remote_ip, NULL);
-+#endif
-
- if (r->uri)
- child_env[i++]= apr_pstrcat(r->pool, ENV_URI"=", r->uri, NULL);