Console: Add netdb lookup by family

This commit is contained in:
zzz
2016-11-17 14:33:33 +00:00
parent 7a1a1d5b93
commit cd4d5a39bf
4 changed files with 20 additions and 6 deletions

View File

@@ -588,8 +588,9 @@ class SybilRenderer {
boolean found = false;
for (String s : foo) {
int count = oc.count(s);
buf.append("<p><b>").append(count).append(" floodfills in declared family \"").append(DataHelper.escapeHTML(s) + '"')
.append("</b></p>");
String ss = DataHelper.escapeHTML(s);
buf.append("<p><b>").append(count).append(" floodfills in declared family \"<a href=\"/netdb?fam=")
.append(ss).append("\">").append(ss).append("</a>\"</b></p>");
for (RouterInfo info : ris) {
String fam = info.getOption("family");
if (fam == null)