* 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);
|
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);
|
//_context.shitlist().shitlistRouter(peerHash, "Part of the wrong network", STYLE);
|
||||||
dropPeer(peerHash, false, "wrong network");
|
dropPeer(peerHash, false, "wrong network");
|
||||||
if (_log.shouldLog(Log.WARN))
|
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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (dsm.getRouterInfo() != null) {
|
if (dsm.getRouterInfo() != null) {
|
||||||
@ -1718,9 +1718,9 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
|||||||
*/
|
*/
|
||||||
buf.append("</a> ");
|
buf.append("</a> ");
|
||||||
if (peer.isInbound())
|
if (peer.isInbound())
|
||||||
buf.append("< ");
|
buf.append("in ");
|
||||||
else
|
else
|
||||||
buf.append("> ");
|
buf.append("out ");
|
||||||
if (peer.getWeRelayToThemAs() > 0)
|
if (peer.getWeRelayToThemAs() > 0)
|
||||||
buf.append("^");
|
buf.append("^");
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user