forked from I2P_Developers/i2p.i2p
i2ptunnel: Fix +/- variance config (ticket #1587)
This commit is contained in:
@@ -47,7 +47,8 @@ public class TunnelConfig {
|
||||
private String _i2cpPort;
|
||||
private int _tunnelDepth = -1;
|
||||
private int _tunnelQuantity = -1;
|
||||
private int _tunnelVariance = -1;
|
||||
// -2 or higher is valid
|
||||
private int _tunnelVariance = -3;
|
||||
private int _tunnelBackupQuantity = -1;
|
||||
private boolean _connectDelay;
|
||||
private String _customOptions;
|
||||
@@ -801,7 +802,7 @@ public class TunnelConfig {
|
||||
config.setProperty("option.inbound.length", Integer.toString(_tunnelDepth));
|
||||
config.setProperty("option.outbound.length", Integer.toString(_tunnelDepth));
|
||||
}
|
||||
if (_tunnelVariance >= 0) {
|
||||
if (_tunnelVariance >= -2) {
|
||||
config.setProperty("option.inbound.lengthVariance", Integer.toString(_tunnelVariance));
|
||||
config.setProperty("option.outbound.lengthVariance", Integer.toString(_tunnelVariance));
|
||||
}
|
||||
|
@@ -1,3 +1,6 @@
|
||||
2015-05-30 zzz
|
||||
* i2ptunnel: Fix +/- variance config (ticket #1587)
|
||||
|
||||
2015-05-29 zzz
|
||||
* HTTP client: Fix occasional truncation of compressed responses
|
||||
|
||||
|
@@ -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 = 32;
|
||||
public final static long BUILD = 33;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
Reference in New Issue
Block a user