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

Skip to content
Snippets Groups Projects
Commit 50eb93de authored by zzz's avatar zzz
Browse files

/netdb: Note encrypted leasesets

parent ecb8480b
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,10 @@ class NetDbRenderer { ...@@ -311,7 +311,10 @@ class NetDbRenderer {
Destination dest = ls.getDestination(); Destination dest = ls.getDestination();
Hash key = dest.calculateHash(); Hash key = dest.calculateHash();
buf.append("<table class=\"leaseset\">\n") buf.append("<table class=\"leaseset\">\n")
.append("<tr><th><b>").append(_t("LeaseSet")).append(":</b>&nbsp;<code>").append(key.toBase64()).append("</code></th>"); .append("<tr><th><b>").append(_t("LeaseSet")).append(":</b>&nbsp;<code>").append(key.toBase64()).append("</code>");
if (_context.keyRing().get(key) != null)
buf.append(" (").append(_t("Encrypted")).append(')');
buf.append("</th>");
if (_context.clientManager().isLocal(dest)) { if (_context.clientManager().isLocal(dest)) {
buf.append("<th><a href=\"tunnels#" + key.toBase64().substring(0,4) + "\">" + _t("Local") + "</a> "); buf.append("<th><a href=\"tunnels#" + key.toBase64().substring(0,4) + "\">" + _t("Local") + "</a> ");
boolean unpublished = ! _context.clientManager().shouldPublishLeaseSet(key); boolean unpublished = ! _context.clientManager().shouldPublishLeaseSet(key);
......
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