1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-11 02:42:23 +03:00

Further clarify the naming of the entity that directly connects to us by

calling that entity a client instead of a peer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214015 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Graham Leggett
2011-12-14 01:10:52 +00:00
parent 8cea5c4275
commit cb21a0dbcc
16 changed files with 75 additions and 74 deletions

View File

@@ -1208,7 +1208,7 @@ static const char *conn_var_fn(ap_expr_eval_ctx_t *ctx, const void *data)
case 1:
#if APR_HAVE_IPV6
{
apr_sockaddr_t *addr = c->peer_addr;
apr_sockaddr_t *addr = c->client_addr;
if (addr->family == AF_INET6
&& !IN6_IS_ADDR_V4MAPPED((struct in6_addr *)addr->ipaddr_ptr))
return "on";
@@ -1221,7 +1221,7 @@ static const char *conn_var_fn(ap_expr_eval_ctx_t *ctx, const void *data)
case 2:
return c->log_id;
case 3:
return c->peer_ip;
return c->client_ip;
default:
ap_assert(0);
return NULL;