]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct HTCP stats. Slipped out with peerAlive conversion
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 18 Jul 2008 11:24:16 +0000 (23:24 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 18 Jul 2008 11:24:16 +0000 (23:24 +1200)
src/neighbors.cc

index 9418187cd862dacfc0142c25f9618c5e4e24ef2a..ab1dbf4d02d667f3f669b25e030b3eb8d7006a32 100644 (file)
@@ -944,6 +944,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;
 }