diff --git a/router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java b/router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java index 7fdd248020a4ac86d56c7df2a4d9750cb20d1098..13bffe7eeb87b1b9a2b315bbde2ec0114e0b76b0 100644 --- a/router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java +++ b/router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java @@ -661,8 +661,10 @@ class BuildHandler implements Runnable { // Previous and next hop the same? Don't help somebody be evil. Drop it without a reply. // A-B-C-A is not preventable if (nextPeer.equals(from)) { + // i2pd does this _context.statManager().addRateData("tunnel.rejectHostile", 1); - _log.error("Dropping build request with the same previous and next hop"); + if (_log.shouldLog(Log.WARN)) + _log.warn("Dropping build request with the same previous and next hop"); return; } }