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

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

Console: Don't show default cost for NTCP2 either

parent 288170a7
No related branches found
No related tags found
No related merge requests found
......@@ -1012,7 +1012,7 @@ class NetDbRenderer {
buf.append("<br><b class=\"netdb_transport\">").append(DataHelper.stripHTML(style)).append(":</b>");
if (debug) {
int cost = addr.getCost();
if (!((style.equals("SSU") && cost == 5) || (style.equals("NTCP") && cost == 10)))
if (!((style.equals("SSU") && cost == 5) || (style.startsWith("NTCP") && cost == 10)))
buf.append("&nbsp;<span class=\"netdb_name\">").append(_t("cost")).append("</span>: <span class=\"netdb_info\">").append("" + cost).append("</span>&nbsp;");
}
Map<Object, Object> p = addr.getOptionsMap();
......
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