sslh: use tls option instead of deprecated ssl

Upstream will drop support for the ssl option in the next future version.

Signed-off-by: Gabor Seljan <sgabe@users.noreply.github.com>
This commit is contained in:
Gabor Seljan
2020-05-24 17:44:25 +02:00
parent f3aaffdd6f
commit 46c253dfca
2 changed files with 6 additions and 6 deletions

View File

@@ -13,9 +13,9 @@ config 'sslh' 'default'
# http defaults to 'localhost:80' # http defaults to 'localhost:80'
# --http <httphost>:<httpport> # --http <httphost>:<httpport>
option 'http' '' option 'http' ''
# ssl defaults to 'localhost:443' # tls defaults to 'localhost:443'
# --ssl <sslhost>:<sslport> # --tls <tlshost>:<tlsport>
option 'ssl' '' option 'tls' ''
# openvpn defaults to 'localhost:1194' # openvpn defaults to 'localhost:1194'
# --openvpn <openvpnhost>:<openvpnport> # --openvpn <openvpnhost>:<openvpnport>
option 'openvpn' '' option 'openvpn' ''

View File

@@ -22,9 +22,9 @@ start_instance() {
# B) ssh parameter # B) ssh parameter
config_get val "${section}" ssh config_get val "${section}" ssh
[ -n "${val}" ] && append args "--ssh ${val}" [ -n "${val}" ] && append args "--ssh ${val}"
# C) ssl parameter # C) tls parameter
config_get val "${section}" ssl config_get val "${section}" tls
[ -n "${val}" ] && append args "--ssl ${val}" [ -n "${val}" ] && append args "--tls ${val}"
# D) openvpn parameter # D) openvpn parameter
config_get val "${section}" openvpn config_get val "${section}" openvpn
[ -n "${val}" ] && append args "--openvpn ${val}" [ -n "${val}" ] && append args "--openvpn ${val}"