Ignore:
Timestamp:
Nov 5, 2015 8:24:12 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
c1d77dfe
Parents:
1a6074a
Message:

i2ptunnel: Add longer tunnel options in advanced mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/jsp/editClient.jsp

    r1a6074a reca234c  
    269269                    <option value="2"<%=(tunnelDepth == 2 ? " selected=\"selected\"" : "") %>><%=intl._t("2 hop tunnel (medium anonymity)")%></option>
    270270                    <option value="3"<%=(tunnelDepth == 3 ? " selected=\"selected\"" : "") %>><%=intl._t("3 hop tunnel (high anonymity)")%></option>
    271                 <% if (tunnelDepth > 3) {
     271                <% if (editBean.isAdvanced()) {
     272                  %><option value="4"<%=(tunnelDepth == 4 ? " selected=\"selected\"" : "") %>>4 hop tunnel</option>
     273                    <option value="5"<%=(tunnelDepth == 5 ? " selected=\"selected\"" : "") %>>5 hop tunnel</option>
     274                    <option value="6"<%=(tunnelDepth == 6 ? " selected=\"selected\"" : "") %>>6 hop tunnel</option>
     275                    <option value="7"<%=(tunnelDepth == 7 ? " selected=\"selected\"" : "") %>>7 hop tunnel</option>
     276                <% } else if (tunnelDepth > 3) {
    272277                %>    <option value="<%=tunnelDepth%>" selected="selected"><%=tunnelDepth%> <%=intl._t("hop tunnel (very poor performance)")%></option>
    273278                <% }
Note: See TracChangeset for help on using the changeset viewer.