]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2419: Regression: 3.0 must still wrap CARP properly.
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 21 Jul 2008 16:10:47 +0000 (04:10 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 21 Jul 2008 16:10:47 +0000 (04:10 +1200)
src/neighbors.cc

index b347f2912bf3c9f9bc2ce5bbda2a16ee5c2b1d62..12288f29eb7f045571854e564a225272bdf6103f 100644 (file)
@@ -1610,8 +1610,10 @@ dump_peer_options(StoreEntry * sentry, peer * p)
     if (p->options.roundrobin)
         storeAppendPrintf(sentry, " round-robin");
 
+#if USE_CARP
     if (p->options.carp)
         storeAppendPrintf(sentry, " carp");
+#endif
 
     if (p->options.userhash)
         storeAppendPrintf(sentry, " userhash");