i2ptunnel: Fix Socks and SocksIRC tunnels not starting,

broken in fix for ticket #815
This commit is contained in:
zzz
2015-04-24 01:48:07 +00:00
parent 772d0beac3
commit 37c6ac3a88
3 changed files with 10 additions and 6 deletions

View File

@@ -42,11 +42,6 @@ public class I2PSOCKSTunnel extends I2PTunnelClientBase {
public I2PSOCKSTunnel(int localPort, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf) {
super(localPort, ownDest, l, notifyThis, "SOCKS Proxy on " + tunnel.listenHost + ':' + localPort, tunnel, pkf);
if (waitEventValue("openBaseClientResult").equals("error")) {
notifyEvent("openSOCKSTunnelResult", "error");
return;
}
setName("SOCKS Proxy on " + tunnel.listenHost + ':' + localPort);
parseOptions();
notifyEvent("openSOCKSTunnelResult", "ok");