Skip to content

Commit

Permalink
sslh: use tls option instead of deprecated ssl
Browse files Browse the repository at this point in the history
Upstream will drop support for the ssl option in the next future version.

Signed-off-by: Gabor Seljan <sgabe@users.noreply.github.com>
  • Loading branch information
sgabe committed May 26, 2020
1 parent f3aaffd commit 46c253d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions net/sslh/files/sslh.config
Expand Up @@ -13,9 +13,9 @@ config 'sslh' 'default'
# http defaults to 'localhost:80'
# --http <httphost>:<httpport>
option 'http' ''
# ssl defaults to 'localhost:443'
# --ssl <sslhost>:<sslport>
option 'ssl' ''
# tls defaults to 'localhost:443'
# --tls <tlshost>:<tlsport>
option 'tls' ''
# openvpn defaults to 'localhost:1194'
# --openvpn <openvpnhost>:<openvpnport>
option 'openvpn' ''
Expand Down
6 changes: 3 additions & 3 deletions net/sslh/files/sslh.init
Expand Up @@ -22,9 +22,9 @@ start_instance() {
# B) ssh parameter
config_get val "${section}" ssh
[ -n "${val}" ] && append args "--ssh ${val}"
# C) ssl parameter
config_get val "${section}" ssl
[ -n "${val}" ] && append args "--ssl ${val}"
# C) tls parameter
config_get val "${section}" tls
[ -n "${val}" ] && append args "--tls ${val}"
# D) openvpn parameter
config_get val "${section}" openvpn
[ -n "${val}" ] && append args "--openvpn ${val}"
Expand Down

0 comments on commit 46c253d

Please sign in to comment.