httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1206587 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Date Sat, 26 Nov 2011 20:55:30 GMT
Author: minfrin
Date: Sat Nov 26 20:55:29 2011
New Revision: 1206587

URL: http://svn.apache.org/viewvc?rev=1206587&view=rev
Log:
Replace a missed version of remote_addr with the new peer_addr.

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=1206587&r1=1206586&r2=1206587&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Sat Nov 26 20:55:29 2011
@@ -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)



Mime
View raw message