mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Sybil: Pass reason to the blocklist, for logging only
This commit is contained in:
@@ -452,7 +452,7 @@ public class Analysis extends JobImpl implements RouterApp {
|
||||
for (RouterAddress ra : ri.getAddresses()) {
|
||||
byte[] ip = ra.getIP();
|
||||
if (ip != null)
|
||||
_context.blocklist().add(ip);
|
||||
_context.blocklist().add(ip, "Sybil " + h.toBase64());
|
||||
String host = ra.getHost();
|
||||
if (host != null)
|
||||
blocks.add(host);
|
||||
|
||||
Reference in New Issue
Block a user