diff --git a/apps/i2ptunnel/jsp/index.jsp b/apps/i2ptunnel/jsp/index.jsp index 3e0d7091ff2c7f763295f756a20b2301863c720b..4d694cad4cddb2dce8089e264a854fab801979f6 100644 --- a/apps/i2ptunnel/jsp/index.jsp +++ b/apps/i2ptunnel/jsp/index.jsp @@ -285,7 +285,7 @@ </label> <div class="text"> <% String cdest = indexBean.getClientDestination(curClient); - if (cdest.length() < 70) { // Probably a B64 (a B32 is 60 chars) so truncate + if (cdest.length() > 70) { // Probably a B64 (a B32 is 60 chars) so truncate %><%=cdest.substring(0, 45)%>…<%=cdest.substring(cdest.length() - 15, cdest.length())%><% } else if (cdest.length() > 0) { %><%=cdest%><%