From e48bc9ef219b940f756a989a9a5921d6b5832c20 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 28 May 2011 22:16:44 -0600 Subject: [PATCH] CacheMgr: Fix cache_peer options userhash/sourcehash display mixup --- src/neighbors.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.3