From: Amos Jeffries Date: Fri, 29 Jan 2010 13:16:35 +0000 (+1300) Subject: Display cache_peer name option in CacheMgr config X-Git-Tag: SQUID_3_1_0_16~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c827d812283cec6826583805a72f7d9fbccdf29;p=thirdparty%2Fsquid.git Display cache_peer name option in CacheMgr config --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 04603a921f..0ffdb94c19 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1593,12 +1593,13 @@ dump_peer(StoreEntry * entry, const char *name, peer * p) LOCAL_ARRAY(char, xname, 128); while (p != NULL) { - storeAppendPrintf(entry, "%s %s %s %d %d", + storeAppendPrintf(entry, "%s %s %s %d %d name=%s", name, p->host, neighborTypeStr(p), p->http_port, - p->icp.port); + p->icp.port, + p->name); dump_peer_options(entry, p); for (d = p->peer_domain; d; d = d->next) {