I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 59b624a4 authored by zzz's avatar zzz
Browse files

add reasonable privkey file name default

parent bfa02f3b
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment