]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Display cache_peer name option in CacheMgr config
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 Jan 2010 13:16:35 +0000 (02:16 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 Jan 2010 13:16:35 +0000 (02:16 +1300)
src/cache_cf.cc

index 04603a921f8258472bb2096bf18c5610235297a9..0ffdb94c193d16db0d26532157f2cd43502b8dbe 100644 (file)
@@ -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) {