forked from I2P_Developers/i2p.i2p
log tweak
This commit is contained in:
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 0;
|
||||
public final static long BUILD = 1;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
@ -640,7 +640,9 @@ class BuildHandler implements Runnable {
|
||||
_context.statManager().addRateData("tunnel.rejectHostile", 1);
|
||||
// We are 2 hops in a row? Drop it without a reply.
|
||||
// No way to recognize if we are every other hop, but see below
|
||||
_log.error("Dropping build request, we are the next hop");
|
||||
// old i2pd
|
||||
if (_log.shouldWarn())
|
||||
_log.warn("Dropping build request, we are the next hop");
|
||||
return;
|
||||
}
|
||||
// previous test should be sufficient to keep it from getting here but maybe not?
|
||||
|
Reference in New Issue
Block a user