diff -wurNbB squid-2.3.STABLE3PR4/src/delay_pools.c squid-2.3.STABLE3PR5/src/delay_pools.c --- squid-2.3.STABLE3PR4/src/delay_pools.c Wed May 17 09:51:59 2000 +++ squid-2.3.STABLE3PR5/src/delay_pools.c Wed May 17 09:56:43 2000 @@ -38,6 +38,8 @@ #if DELAY_POOLS #include "squid.h" +#define NETWORK_BITS_16_23 /* Use alternate byte for delay pools network */ + struct _class1DelayPool { int class; int aggregate; @@ -367,8 +369,13 @@ return delayId(pool + 1, i); } /* class == 3 */ +#ifndef NETWORK_BITS_16_23 host = ntohl(ch.src_addr.s_addr) & 0xffff; net = host >> 8; +#else + host = ntohl(ch.src_addr.s_addr); + net = ( host >> 16 ) & 0xff; +#endif host &= 0xff; if (net == 255) { i = 255;