You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
333 B

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