]> granicus.if.org Git - apache/commitdiff
Replace a missed version of remote_addr with the new peer_addr.
authorGraham Leggett <minfrin@apache.org>
Sat, 26 Nov 2011 20:55:29 +0000 (20:55 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 26 Nov 2011 20:55:29 +0000 (20:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206587 13f79535-47bb-0310-9956-ffa450edef68

modules/cluster/mod_heartmonitor.c

index b6cdb52cd979a119691f098a1802a2b668a62780..cc516ae1d5d6c5bee91c5d680601de7693b2a593 100644 (file)
@@ -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)