From 900f5cafdaace1ec8a43ba0f633e006161d8451e Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sat, 26 Nov 2011 20:55:29 +0000 Subject: 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 --- modules/cluster/mod_heartmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/cluster') 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) -- cgit v1.2.3