log tweak

This commit is contained in:
zzz
2015-09-13 13:38:19 +00:00
parent ac1a28e988
commit ed3e444d1e
2 changed files with 4 additions and 2 deletions

View File

@ -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 = "";

View File

@ -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?