From 89ed2aaf88584425f3d891311a3a968c988cd3aa Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 27 Jun 2010 21:50:06 +1200 Subject: [PATCH] Author: Sean Critica Bug 2903: does not send indirect X-Client-Ip in ICAP respmod --- src/HttpRequest.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/HttpRequest.cc b/src/HttpRequest.cc index 7edac09cac..a74f56a64f 100644 --- a/src/HttpRequest.cc +++ b/src/HttpRequest.cc @@ -571,6 +571,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 my_addr = aReq->my_addr; dnsWait = aReq->dnsWait; -- 2.47.3