From 363b2c6801aa07006a1a435daa5cf7f2d0195610 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 18 Jul 2008 23:08:38 -0600 Subject: [PATCH] Correct HTCP stats. Slipped out with peerAlive conversion --- src/neighbors.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/neighbors.cc b/src/neighbors.cc index 9083b3ce6c..b347f2912b 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -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; } -- 2.47.2