From f80286f6c0e74aec4d0b602ffb48f92f627fa168 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 18 Jul 2008 23:24:16 +1200 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 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; } -- 2.47.2