This commit is contained in:
zzz
2016-11-23 17:08:13 +00:00
parent b72b768945
commit 08f7e5d6a8

View File

@ -448,9 +448,10 @@ class SybilRenderer {
int i1 = (i >> 16) & 0xff; int i1 = (i >> 16) & 0xff;
int i2 = (i >> 8) & 0xff; int i2 = (i >> 8) & 0xff;
int i3 = i & 0xff; int i3 = i & 0xff;
buf.append("<p><b>").append(count).append(" floodfills with IP ").append(i0).append('.') String sip = i0 + "." + i1 + '.' + i2 + '.' + i3;
.append(i1).append('.').append(i2).append('.').append(i3) buf.append("<p><b>").append(count).append(" floodfills with IP <a href=\"/netdb?ip=")
.append(":</b></p>"); .append(sip).append("\">").append(sip)
.append("</a>:</b></p>");
for (RouterInfo info : ris) { for (RouterInfo info : ris) {
byte[] ip = getIP(info); byte[] ip = getIP(info);
if (ip == null) if (ip == null)