From: Amos Jeffries Date: Sun, 29 May 2011 04:16:44 +0000 (-0600) Subject: CacheMgr: Fix cache_peer options userhash/sourcehash display mixup X-Git-Tag: SQUID_3_1_12_2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48bc9ef219b940f756a989a9a5921d6b5832c20;p=thirdparty%2Fsquid.git CacheMgr: Fix cache_peer options userhash/sourcehash display mixup --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 569fa7bc56..d4bc66fa93 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1590,8 +1590,9 @@ dump_peer_options(StoreEntry * sentry, peer * p) if (p->options.userhash) storeAppendPrintf(sentry, " userhash"); +#endif - if (p->options.userhash) + if (p->options.sourcehash) storeAppendPrintf(sentry, " sourcehash"); if (p->options.weighted_roundrobin)