oops
This commit is contained in:
@ -49,8 +49,6 @@ public class I2NPMessageHandler {
|
||||
throw ioe;
|
||||
} catch (I2NPMessageException ime) {
|
||||
throw ime;
|
||||
} catch (DataFormatException dfe) {
|
||||
throw dfe;
|
||||
} catch (Exception e) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Error reading the stream", e);
|
||||
|
@ -629,7 +629,8 @@ public class TCPTransport extends TransportImpl {
|
||||
continue;
|
||||
}
|
||||
if (!allowAddress(tcpAddr)) {
|
||||
_log.error("Message points at illegal address! " + msg.getTarget());
|
||||
_log.error("Message points at illegal address! "
|
||||
+ msg.getTarget().getIdentity().calculateHash().toBase64().substring(0,6));
|
||||
|
||||
iter.remove();
|
||||
_context.shitlist().shitlistRouter(peer, "Invalid addressaddress...");
|
||||
|
Reference in New Issue
Block a user