refactor: rename 'ss_uot' to 'enable_shadowsocks_udp_over_tcp'

This commit is contained in:
Andrey Petelin
2025-10-10 19:48:55 +05:00
committed by divocat
parent ca5a3a79fe
commit f95d801d44
2 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ function createSectionContent(section) {
o = section.option(
form.Flag,
'ss_uot',
'enable_shadowsocks_udp_over_tcp',
_('Shadowsocks UDP over TCP'),
_('Apply for SS2022'),
);

View File

@@ -591,7 +591,7 @@ configure_outbound_handler() {
log "Detected proxy configuration type: url" "debug"
local proxy_string udp_over_tcp
config_get proxy_string "$section" "proxy_string"
config_get udp_over_tcp "$section" "ss_uot"
config_get udp_over_tcp "$section" "enable_shadowsocks_udp_over_tcp"
# Extract the first non-comment line as the active configuration
active_proxy_string=$(echo "$proxy_string" | grep -v "^[[:space:]]*\/\/" | head -n 1)
@@ -612,7 +612,7 @@ configure_outbound_handler() {
local urltest_proxy_links udp_over_tcp i urltest_tag selector_tag outbound_tag outbound_tags \
urltest_outbounds selector_outbounds
config_get urltest_proxy_links "$section" "urltest_proxy_links"
config_get udp_over_tcp "$section" "ss_uot"
config_get udp_over_tcp "$section" "enable_shadowsocks_udp_over_tcp"
if [ -z "$urltest_proxy_links" ]; then
log "URLTest proxy links is not set. Aborted." "fatal"