]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct HTCP stats. Slipped out with peerAlive conversion
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 19 Jul 2008 05:08:38 +0000 (23:08 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 19 Jul 2008 05:08:38 +0000 (23:08 -0600)
src/neighbors.cc

index 9083b3ce6c6a06d06877f55404652236064a591a..b347f2912bf3c9f9bc2ce5bbda2a16ee5c2b1d62 100644 (file)
@@ -986,6 +986,7 @@ static void
 neighborAliveHtcp(peer * p, const MemObject * mem, const htcpReplyData * htcp)
 {
     peerAlive(p);
+    p->stats.pings_acked++;
     p->htcp.counts[htcp->hit ? 1 : 0]++;
     p->htcp.version = htcp->version;
 }