From cad0ab17dc25921f13092bd1c9e4552310a26abc Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Sun, 20 Dec 2015 15:23:00 +0000
Subject: [PATCH] SSU: Fix received msg count, broken in last checkin

---
 router/java/src/net/i2p/router/transport/udp/PeerState.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/router/java/src/net/i2p/router/transport/udp/PeerState.java b/router/java/src/net/i2p/router/transport/udp/PeerState.java
index 9c18b04e7a..bec96ec91d 100644
--- a/router/java/src/net/i2p/router/transport/udp/PeerState.java
+++ b/router/java/src/net/i2p/router/transport/udp/PeerState.java
@@ -792,6 +792,7 @@ class PeerState {
             _receiveBytes += bytes;
             //if (isForACK)
             //    _receiveACKBytes += bytes;
+            _messagesReceived++;
         } else {
             //if (true || _retransmissionPeriodStart + 1000 < _context.clock().now()) {
                 _packetsReceivedDuplicate++;
-- 
GitLab