From: Amos Jeffries Date: Tue, 10 May 2011 12:51:32 +0000 (+1200) Subject: CacheMgr: Fix cache_peer options userhash/sourcehash display mixup X-Git-Tag: take07~16^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=354b5a2b22e6f3a8fdfd22c987c69fab345f5d25;p=thirdparty%2Fsquid.git CacheMgr: Fix cache_peer options userhash/sourcehash display mixup --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 2fd10be90d..80597932fe 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1579,13 +1579,15 @@ dump_peer_options(StoreEntry * sentry, peer * p) if (p->options.carp) storeAppendPrintf(sentry, " carp"); + #if USE_AUTH if (p->options.userhash) storeAppendPrintf(sentry, " userhash"); +#endif - if (p->options.userhash) + if (p->options.sourcehash) storeAppendPrintf(sentry, " sourcehash"); -#endif + if (p->options.weighted_roundrobin) storeAppendPrintf(sentry, " weighted-round-robin");