--------------------- PatchSet 298 Date: 2002/12/09 18:49:34 Author: apbarrett Branch: follow_xff Tag: (none) Log: In delayClient(), when comparing the client address with INADDR_BROADCAST, use ch.src_addr instead of r->client_addr. This should work regardless of the setting of delay_pool_uses_indirect_client. Members: src/delay_pools.cc:1.2.12.1->1.2.12.2 Index: squid3/src/delay_pools.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/delay_pools.cc,v retrieving revision 1.2.12.1 retrieving revision 1.2.12.2 diff -u -r1.2.12.1 -r1.2.12.2 --- squid3/src/delay_pools.cc 9 Dec 2002 18:17:24 -0000 1.2.12.1 +++ squid3/src/delay_pools.cc 9 Dec 2002 18:49:34 -0000 1.2.12.2 @@ -1,6 +1,6 @@ /* - * $Id: delay_pools.cc,v 1.2.12.1 2002/12/09 18:17:24 apbarrett Exp $ + * $Id: delay_pools.cc,v 1.2.12.2 2002/12/09 18:49:34 apbarrett Exp $ * * DEBUG: section 77 Delay Pools * AUTHOR: David Luyer @@ -330,7 +330,7 @@ ch.my_port = r->my_port; ch.conn = http->conn; ch.request = r; - if (r->client_addr.s_addr == INADDR_BROADCAST) { + if (ch.src_addr.s_addr == INADDR_BROADCAST) { debug(77, 2) ("delayClient: WARNING: Called with 'allones' address, ignoring\n"); return delayId(0, 0); }