mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-18 06:03:54 +03:00
Fixed spice scripts
This commit is contained in:
parent
5da12a8091
commit
3afa96f1c5
@ -30,7 +30,7 @@ else:
|
|||||||
port = -1
|
port = -1
|
||||||
|
|
||||||
if {m.secure_port} != -1: # @UndefinedVariable
|
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:
|
if forwardThread2.status == 2:
|
||||||
raise Exception('Unable to open tunnel')
|
raise Exception('Unable to open tunnel')
|
||||||
|
@ -35,7 +35,7 @@ else:
|
|||||||
port = -1
|
port = -1
|
||||||
|
|
||||||
if {m.secure_port} != -1: # @UndefinedVariable
|
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:
|
if forwardThread2.status == 2:
|
||||||
raise Exception('Unable to open tunnel')
|
raise Exception('Unable to open tunnel')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user