diff options
author | Eric Hameleers <alien@slackware.com> | 2013-10-15 12:20:16 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-10-15 12:20:16 +0000 |
commit | b9ccd68420bf61eff8b38c83451c73fc593d38d2 (patch) | |
tree | a8c04d5f3e7274a6090a0934ab39f04b421dbf71 /mod_authnz_external | |
parent | dfacdb619b0b4c6897c1f1a0387fa7629ddd4d4c (diff) | |
download | asb-b9ccd68420bf61eff8b38c83451c73fc593d38d2.tar.gz asb-b9ccd68420bf61eff8b38c83451c73fc593d38d2.tar.xz |
Initial revision
Diffstat (limited to 'mod_authnz_external')
-rw-r--r-- | mod_authnz_external/build/mod_authnz_external_apache-2.4.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mod_authnz_external/build/mod_authnz_external_apache-2.4.patch b/mod_authnz_external/build/mod_authnz_external_apache-2.4.patch new file mode 100644 index 00000000..2f917b5f --- /dev/null +++ b/mod_authnz_external/build/mod_authnz_external_apache-2.4.patch @@ -0,0 +1,28 @@ +From d48e9475153cd2f7f1a36941b5c6bc6d6908c818 Mon Sep 17 00:00:00 2001 +From: David Sansome <me@davidsansome.com> +Date: Mon, 26 Mar 2012 17:34:00 +0100 +Subject: [PATCH] Apache 2.4 compatibility + +--- + mod_authnz_external.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mod_authnz_external.c b/mod_authnz_external.c +index 479e57f..dbb5d39 100644 +--- a/mod_authnz_external.c ++++ b/mod_authnz_external.c +@@ -443,8 +443,8 @@ static int exec_external(const char *extpath, const char *extmethod, + if (remote_host != NULL) + child_env[i++]= apr_pstrcat(p, ENV_HOST"=", remote_host,NULL); + +- if (c->remote_ip) +- child_env[i++]= apr_pstrcat(p, ENV_IP"=", c->remote_ip, NULL); ++ if (c->client_ip) ++ child_env[i++]= apr_pstrcat(p, ENV_IP"=", c->client_ip, NULL); + + if (r->uri) + child_env[i++]= apr_pstrcat(p, ENV_URI"=", r->uri, NULL); +-- +1.7.0.4 + + |