* peers.jsp: Change <,> to in,out for UDP
This commit is contained in:
@ -630,11 +630,11 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
}
|
||||
}
|
||||
markUnreachable(peerHash);
|
||||
_context.shitlist().shitlistRouter(peerHash, "Part of the wrong network");
|
||||
_context.shitlist().shitlistRouter(peerHash, "Part of the wrong network, version = " + dsm.getRouterInfo().getOption("router.version"));
|
||||
//_context.shitlist().shitlistRouter(peerHash, "Part of the wrong network", STYLE);
|
||||
dropPeer(peerHash, false, "wrong network");
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Dropping the peer " + peerHash.toBase64() + " because they are in the wrong net");
|
||||
_log.warn("Dropping the peer " + peerHash.toBase64() + " because they are in the wrong net: " + dsm.getRouterInfo());
|
||||
return;
|
||||
} else {
|
||||
if (dsm.getRouterInfo() != null) {
|
||||
@ -1718,9 +1718,9 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
*/
|
||||
buf.append("</a> ");
|
||||
if (peer.isInbound())
|
||||
buf.append("< ");
|
||||
buf.append("in ");
|
||||
else
|
||||
buf.append("> ");
|
||||
buf.append("out ");
|
||||
if (peer.getWeRelayToThemAs() > 0)
|
||||
buf.append("^");
|
||||
else
|
||||
|
Reference in New Issue
Block a user