Changeset 2fab97f for apps


Ignore:
Timestamp:
May 25, 2018 5:35:29 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9eb3cc5
Parents:
195a2d04
Message:

Console: Fix changes to wrong tunnel on /configtunnels (ticket #2227)

Location:
apps/routerconsole/java/src/net/i2p/router/web/helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigTunnelsHandler.java

    r195a2d04 r2fab97f  
    7777            }
    7878           
    79             in.setLength(getInt(_settings.get(index + ".depthInbound")));
     79            Object di = _settings.get(index + ".depthInbound");
     80            if (di == null) {
     81                // aliased pools
     82                index++;
     83                continue;
     84            }
     85            in.setLength(getInt(di));
    8086            out.setLength(getInt(_settings.get(index + ".depthOutbound")));
    8187            in.setLengthVariance(getInt(_settings.get(index + ".varianceInbound")));
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigTunnelsHelper.java

    r195a2d04 r2fab97f  
    4141           
    4242            if (in == null || in.getAliasOf() != null ||
    43                 out == null || out.getAliasOf() != null)
     43                out == null || out.getAliasOf() != null) {
     44                cur++;
    4445                continue;
     46            }
    4547           
    4648            String name = in.getDestinationNickname();
Note: See TracChangeset for help on using the changeset viewer.