forked from I2P_Developers/i2p.i2p
- Don't delete privkey file for a non-persistent client tunnel
(ticket #599)
This commit is contained in:
@@ -342,7 +342,8 @@ public class IndexBean {
|
||||
String pk = cur.getPrivKeyFile();
|
||||
if (pk == null)
|
||||
pk = _privKeyFile;
|
||||
if (pk != null && pk.startsWith("i2ptunnel") && pk.endsWith("-privKeys.dat")) {
|
||||
if (pk != null && pk.startsWith("i2ptunnel") && pk.endsWith("-privKeys.dat") &&
|
||||
((!isClient(cur.getType())) || cur.getPersistentClientKey())) {
|
||||
File pkf = new File(_context.getConfigDir(), pk);
|
||||
if (pkf.exists()) {
|
||||
String name = cur.getName();
|
||||
|
@@ -1,5 +1,8 @@
|
||||
2012-02-20 zzz
|
||||
* i2ptunnel: Fix streamr session registration
|
||||
* i2ptunnel:
|
||||
- Fix streamr session registration
|
||||
- Don't delete privkey file for a non-persistent client tunnel
|
||||
(ticket #599)
|
||||
* Streaming: Fix race NPE (thx echelon)
|
||||
|
||||
2012-02-17 zzz
|
||||
|
@@ -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 = 16;
|
||||
public final static long BUILD = 17;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
Reference in New Issue
Block a user