]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Sean Critica <sean.critica@gmail.com>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 24 Jun 2010 02:58:54 +0000 (20:58 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 24 Jun 2010 02:58:54 +0000 (20:58 -0600)
Bug 2903: does not send X-Client-Ip in ICAP respmod

src/HttpRequest.cc

index a89c2e5a1902acbe22e2063183d313e156d60fc3..38633bfd0643bcfbd1789f2ce50a9c45922177ff 100644 (file)
@@ -577,6 +577,9 @@ bool HttpRequest::inheritProperties(const HttpMsg *aMsg)
         return false;
 
     client_addr = aReq->client_addr;
+#if FOLLOW_X_FORWARDED_FOR
+    indirect_client_addr = aReq->indirect_client_addr;
+#endif
 #if USE_SQUID_EUI
     client_eui48 = aReq->client_eui48;
     client_eui64 = aReq->client_eui64;