forked from I2P_Developers/i2p.i2p
log and javadoc tweaks
This commit is contained in:
@ -47,9 +47,10 @@ class InboundEndpointProcessor {
|
||||
public boolean retrievePreprocessedData(byte orig[], int offset, int length, Hash prev) {
|
||||
Hash last = _config.getPeer(_config.getLength()-2);
|
||||
if (!last.equals(prev)) {
|
||||
// shouldn't happen now that we have good dup ID detection in BuildHandler
|
||||
if (_log.shouldLog(Log.ERROR))
|
||||
_log.error("Invalid previous peer - attempted hostile loop? from " + prev
|
||||
+ ", expected " + last);
|
||||
_log.error("Attempted IBEP injection from " + prev
|
||||
+ ", expected " + last);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user