mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-10-18 15:51:26 +02:00
v1.12 second release fix due to to tunnelcontrol bug
This commit is contained in:
@@ -126,7 +126,7 @@ or, if you would like a vanity b32 address for your server tunnel that begins wi
|
||||
|
||||
`tunnel-control.sh server.create.vanity <host> <port> <directory> <prefix>`
|
||||
|
||||
(if you do not want to specify the directory parameter, specify `none` as the directory)
|
||||
If you do not want to specify the directory parameter above, specify `none` as the directory. Note that this command may take several minutes to complete.
|
||||
|
||||
#### Check the state of a tunnel. Returns "opening" or "open"
|
||||
|
||||
|
||||
@@ -556,8 +556,7 @@ public class TunnelControl implements Runnable {
|
||||
String destHost = args[1];
|
||||
int destPort = Integer.parseInt(args[2]);
|
||||
File serverTunnelConfigDir = null;
|
||||
if(args.length>=4) serverTunnelConfigDir = new File(args[3]);
|
||||
if("none".equals(serverTunnelConfigDir)) serverTunnelConfigDir = null;
|
||||
if(args.length>=4 && !"none".equals(args[3])) serverTunnelConfigDir = new File(args[3]);
|
||||
File serverKeyFile;
|
||||
KeyPair keyPair;
|
||||
if(serverTunnelConfigDir!=null) {
|
||||
|
||||
Reference in New Issue
Block a user