v1.12 second release fix due to to tunnelcontrol bug

pull/35/head
knaccc 5 years ago
parent 9db0d07074
commit 490cf44700

@ -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) {

Loading…
Cancel
Save