Browse Source

fix bug on restore

sshtunnel
Christian Rotzoll 6 years ago
parent
commit
d443101f3d
  1. 2
      home.admin/config.scripts/internet.sshtunnel.py

2
home.admin/config.scripts/internet.sshtunnel.py

@ -90,7 +90,7 @@ if sys.argv[1] == "on":
sys.exit(1) sys.exit(1)
# get ports # get ports
ports = re.sub('\W+','', sys.argv[i] ).split("<") ports = re.sub('"','', sys.argv[i] ).split("<")
port_internal = ports[0] port_internal = ports[0]
port_external = ports[1] port_external = ports[1]
if port_internal.isdigit() == False: if port_internal.isdigit() == False:

Loading…
Cancel
Save