altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1688399.patch

008793
--- a/modules/metadata/mod_remoteip.c	2015/06/30 08:36:49	1688398
008793
+++ b/modules/metadata/mod_remoteip.c	2015/06/30 08:40:17	1688399
008793
@@ -255,7 +255,7 @@
008793
     }
008793
     remote = apr_pstrdup(r->pool, remote);
008793
 
008793
-    temp_sa = c->client_addr;
008793
+    temp_sa = r->useragent_addr ? r->useragent_addr : c->client_addr;
008793
 
008793
     while (remote) {
008793