@@ -0,0 +1,11 @@
+--- 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);
|