Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
2.4
:
Modules
>
apache2-mod_stats
> apache24.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache24.patch of Package apache2-mod_stats
--- mod_stats.c.orig 2014-02-09 22:58:41.443714205 +0100 +++ mod_stats.c 2014-02-09 22:58:59.903707312 +0100 @@ -429,7 +429,7 @@ /* is this request from one of the listed admin servers? */ list = (apr_sockaddr_t *) cfg->admin_ips->elts; for (i = 0; i < cfg->admin_ips->nelts; i++) { - if (apr_sockaddr_equal(r->connection->remote_addr, &list[i])) { + if (apr_sockaddr_equal(r->connection->client_ip, &list[i])) { admin_allowed = 1; admin_host = ((char **) cfg->admin_hosts->elts)[i]; debugLog(r, cfg, "Host %s is a StatsAdminHost", admin_host);