From b44d02dbd90a5d8cc9f1fc7785673b69036b55a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 22 May 2017 14:16:38 +0200 Subject: [PATCH] Fixed tunnel wait --- server/src/uds/transports/RDP/scripts/macosx/tunnel.py | 2 +- server/src/uds/transports/RDP/scripts/windows/tunnel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/uds/transports/RDP/scripts/macosx/tunnel.py b/server/src/uds/transports/RDP/scripts/macosx/tunnel.py index 957afdc0..2f425c2a 100644 --- a/server/src/uds/transports/RDP/scripts/macosx/tunnel.py +++ b/server/src/uds/transports/RDP/scripts/macosx/tunnel.py @@ -51,7 +51,7 @@ if executable is None: ''', QtGui.QMessageBox.Ok) -forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, {m.tunWait}) # @UndefinedVariable +forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, waitTime={m.tunWait}) # @UndefinedVariable if forwardThread.status == 2: raise Exception('Unable to open tunnel') diff --git a/server/src/uds/transports/RDP/scripts/windows/tunnel.py b/server/src/uds/transports/RDP/scripts/windows/tunnel.py index 71b942c8..eb4e233f 100644 --- a/server/src/uds/transports/RDP/scripts/windows/tunnel.py +++ b/server/src/uds/transports/RDP/scripts/windows/tunnel.py @@ -14,7 +14,7 @@ from uds import tools # @UnresolvedImport import six -forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, {m.tunWait}) # @UndefinedVariable +forwardThread, port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', 3389, waitTime={m.tunWait}) # @UndefinedVariable if forwardThread.status == 2: raise Exception('Unable to open tunnel')