This commit is contained in:
zzz
2015-11-14 02:07:28 +00:00
parent 231040ddd8
commit 23cb4ca764

View File

@@ -452,7 +452,8 @@ public class TunnelDispatcher implements Service {
_inboundGateways.remove(recvId); _inboundGateways.remove(recvId);
} else { } else {
// update stats based off getCompleteCount() + getFailedCount() // update stats based off getCompleteCount() + getFailedCount()
for (int i = 0; i < cfg.getLength(); i++) { // skip last hop (us)
for (int i = 0; i < cfg.getLength() - 1; i++) {
Hash peer = cfg.getPeer(i); Hash peer = cfg.getPeer(i);
PeerProfile profile = _context.profileOrganizer().getProfile(peer); PeerProfile profile = _context.profileOrganizer().getProfile(peer);
if (profile != null) { if (profile != null) {