From b867906b6b630fb13da11c215e6e276ed7778999 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Fri, 13 Dec 2013 06:01:28 +0000 Subject: [PATCH] s/ip/IP/ in comments git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550650 13f79535-47bb-0310-9956-ffa450edef68 --- modules/metadata/mod_remoteip.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/metadata/mod_remoteip.c b/modules/metadata/mod_remoteip.c index b0af3a3289..c2fc944579 100644 --- a/modules/metadata/mod_remoteip.c +++ b/modules/metadata/mod_remoteip.c @@ -37,11 +37,11 @@ typedef struct { } remoteip_proxymatch_t; typedef struct { - /** The header to retrieve a proxy-via ip list */ + /** The header to retrieve a proxy-via IP list */ const char *header_name; /** A header to record the proxied IP's * (removed as the physical connection and - * from the proxy-via ip header value list) + * from the proxy-via IP header value list) */ const char *proxies_header_name; /** A list of trusted proxies, ideally configured @@ -53,9 +53,9 @@ typedef struct { typedef struct { apr_sockaddr_t *useragent_addr; char *useragent_ip; - /** The list of proxy ip's ignored as remote ip's */ + /** The list of proxy IP's ignored as remote IP's */ const char *proxy_ips; - /** The remaining list of untrusted proxied remote ip's */ + /** The remaining list of untrusted proxied remote IP's */ const char *proxied_remote; } remoteip_req_t; @@ -290,7 +290,7 @@ static int remoteip_modify_request(request_rec *r) break; } - /* We map as IPv4 rather than IPv6 for equivilant host names + /* We map as IPv4 rather than IPv6 for equivalant host names * or IPV4OVERIPV6 */ rv = apr_sockaddr_info_get(&temp_sa, parse_remote, @@ -309,7 +309,6 @@ static int remoteip_modify_request(request_rec *r) remote = parse_remote; } break; - } addrbyte = (unsigned char *) &temp_sa->sa.sin.sin_addr; -- 2.40.0