]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
CacheMgr: Fix cache_peer options userhash/sourcehash display mixup
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 29 May 2011 04:16:44 +0000 (22:16 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 29 May 2011 04:16:44 +0000 (22:16 -0600)
src/neighbors.cc

index 569fa7bc5653506f1c05df5b186f365545439d55..d4bc66fa9315efcd6c2e8050ec74ede65363a50b 100644 (file)
@@ -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)