From 3afa96f1c522ed6e3416c51ca87704855ddd26ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 28 Apr 2016 12:50:30 +0200 Subject: [PATCH] Fixed spice scripts --- server/src/uds/transports/SPICE/scripts/linux/tunnel.py | 2 +- server/src/uds/transports/SPICE/scripts/macosx/tunnel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/uds/transports/SPICE/scripts/linux/tunnel.py b/server/src/uds/transports/SPICE/scripts/linux/tunnel.py index 61784dbe..dd9b1678 100644 --- a/server/src/uds/transports/SPICE/scripts/linux/tunnel.py +++ b/server/src/uds/transports/SPICE/scripts/linux/tunnel.py @@ -30,7 +30,7 @@ else: port = -1 if {m.secure_port} != -1: # @UndefinedVariable - forwardThread2, secure_port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', {m.secure_port}) # @UndefinedVariable + forwardThread2, secure_port = forwardThread1.clone('{m.ip}', {m.secure_port}) # @UndefinedVariable if forwardThread2.status == 2: raise Exception('Unable to open tunnel') diff --git a/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py b/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py index ecb25a8e..fc535dd1 100644 --- a/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py +++ b/server/src/uds/transports/SPICE/scripts/macosx/tunnel.py @@ -35,7 +35,7 @@ else: port = -1 if {m.secure_port} != -1: # @UndefinedVariable - forwardThread2, secure_port = forward('{m.tunHost}', '{m.tunPort}', '{m.tunUser}', '{m.tunPass}', '{m.ip}', {m.secure_port}) # @UndefinedVariable + forwardThread2, secure_port = forwardThread1.clone('{m.ip}', {m.secure_port}) # @UndefinedVariable if forwardThread2.status == 2: raise Exception('Unable to open tunnel')