diff options
author | Graham Leggett <minfrin@apache.org> | 2011-11-26 21:55:29 +0100 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2011-11-26 21:55:29 +0100 |
commit | 900f5cafdaace1ec8a43ba0f633e006161d8451e (patch) | |
tree | 58a13401b02b0308120b1aa58d283a7ecf64e44f /modules/cluster | |
parent | Updates. (diff) | |
download | apache2-900f5cafdaace1ec8a43ba0f633e006161d8451e.tar.xz apache2-900f5cafdaace1ec8a43ba0f633e006161d8451e.zip |
Replace a missed version of remote_addr with the new peer_addr.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index b6cdb52cd9..cc516ae1d5 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -759,7 +759,7 @@ static int hm_handler(request_rec *r) buf[len] = '\0'; tbl = apr_table_make(r->pool, 10); qs_to_table(buf, tbl, r->pool); - apr_sockaddr_ip_get(&ip, r->connection->remote_addr); + apr_sockaddr_ip_get(&ip, r->connection->peer_addr); hmserver.ip = ip; hmserver.port = 80; if (apr_table_get(tbl, "port") != NULL) |