forked from I2P_Developers/i2p.i2p
add reasonable privkey file name default
This commit is contained in:
@ -60,8 +60,9 @@ public class EditBean extends IndexBean {
|
||||
TunnelController tun = getController(tunnel);
|
||||
if (tun != null && tun.getPrivKeyFile() != null)
|
||||
return tun.getPrivKeyFile();
|
||||
else
|
||||
return "";
|
||||
if (tunnel < 0)
|
||||
tunnel = _group.getControllers().size();
|
||||
return "i2ptunnel" + tunnel + "-privKeys.dat";
|
||||
}
|
||||
|
||||
public boolean startAutomatically(int tunnel) {
|
||||
|
Reference in New Issue
Block a user