diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js index 7d86ff7..16fcd6c 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js @@ -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'), ); diff --git a/podkop/files/usr/bin/podkop b/podkop/files/usr/bin/podkop index b7e5f87..3d4d7d7 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -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"