From: Amos Jeffries Date: Fri, 18 Jul 2008 11:24:16 +0000 (+1200) Subject: Correct HTCP stats. Slipped out with peerAlive conversion X-Git-Tag: SQUID_3_1_0_1~49^2~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f80286f6c0e74aec4d0b602ffb48f92f627fa168;p=thirdparty%2Fsquid.git Correct HTCP stats. Slipped out with peerAlive conversion --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 9418187cd8..ab1dbf4d02 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -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; }