I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit fd58472c authored by zzz's avatar zzz
Browse files

Sybil: Pass reason to the blocklist, for logging only

parent e9c74c7c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment