forked from I2P_Developers/i2p.i2p
Console: Don't show default cost for NTCP2 either
This commit is contained in:
@@ -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(" <span class=\"netdb_name\">").append(_t("cost")).append("</span>: <span class=\"netdb_info\">").append("" + cost).append("</span> ");
|
||||
}
|
||||
Map<Object, Object> p = addr.getOptionsMap();
|
||||
|
||||
Reference in New Issue
Block a user