forked from I2P_Developers/i2p.i2p
Console: Fix changes to wrong tunnel on /configtunnels (ticket #2227)
This commit is contained in:
@ -76,7 +76,13 @@ public class ConfigTunnelsHandler extends FormHandler {
|
||||
continue;
|
||||
}
|
||||
|
||||
in.setLength(getInt(_settings.get(index + ".depthInbound")));
|
||||
Object di = _settings.get(index + ".depthInbound");
|
||||
if (di == null) {
|
||||
// aliased pools
|
||||
index++;
|
||||
continue;
|
||||
}
|
||||
in.setLength(getInt(di));
|
||||
out.setLength(getInt(_settings.get(index + ".depthOutbound")));
|
||||
in.setLengthVariance(getInt(_settings.get(index + ".varianceInbound")));
|
||||
out.setLengthVariance(getInt(_settings.get(index + ".varianceOutbound")));
|
||||
|
@ -40,8 +40,10 @@ public class ConfigTunnelsHelper extends HelperBase {
|
||||
TunnelPoolSettings out = _context.tunnelManager().getOutboundSettings(dest.calculateHash());
|
||||
|
||||
if (in == null || in.getAliasOf() != null ||
|
||||
out == null || out.getAliasOf() != null)
|
||||
out == null || out.getAliasOf() != null) {
|
||||
cur++;
|
||||
continue;
|
||||
}
|
||||
|
||||
String name = in.getDestinationNickname();
|
||||
if (name == null)
|
||||
|
@ -1,3 +1,6 @@
|
||||
2018-05-25 zzz
|
||||
* Console: Fix changes to wrong tunnel on /configtunnels (ticket #2227)
|
||||
|
||||
2018-05-06 meeh
|
||||
* launchers:
|
||||
- rewritten some logic
|
||||
@ -11,7 +14,7 @@
|
||||
|
||||
2018-05-05 zzz
|
||||
* i2ptunnel:
|
||||
- Link to SSL wizard
|
||||
- Link to SSL wizard (ticket #2159)
|
||||
- Enable SSL to i2p hosts by default
|
||||
* Streaming: Don't send HTTP response on an HTTPS connection
|
||||
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 9;
|
||||
public final static long BUILD = 10;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
Reference in New Issue
Block a user