mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fixes and use nping for failover
This commit is contained in:
parent
f9adb2e523
commit
99881d1487
5 changed files with 18 additions and 21 deletions
|
@ -131,7 +131,7 @@ ss_mkjson_ss_tunnel_conf() {
|
|||
EOF
|
||||
[ "$obfs" = 0 ] && obfs=false || obfs=true
|
||||
if $obfs; then
|
||||
obfs_options="--obfs $obfs_type"
|
||||
obfs_options="obfs=$obfs_type"
|
||||
[ -z "$obfs_host" ] || obfs_options="$obfs_options --obfs-host $obfs_host"
|
||||
[ -z "$obfs_uri" ] || obfs_options="$obfs_options --obfs-uri $obfs_uri"
|
||||
cat <<-EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue