Просмотр исходного кода

Merge pull request #1726 from zxlhhyccc/custom

luci-app-ssr-plus: Add `SS` version options for `sip008` and `ssd`.
zxl hhyccc 5 месяцев назад
Родитель
Сommit
9f6cf057a9
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua

+ 2 - 0
luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua

@@ -419,6 +419,7 @@ local function processData(szType, content)
 	elseif szType == "sip008" then
 		result.type = v2_ss
 		result.v2ray_protocol = (v2_ss == "v2ray") and "shadowsocks" or nil
+		result.has_ss_type = has_ss_type
 		result.server = content.server
 		result.server_port = content.server_port
 		result.password = content.password
@@ -432,6 +433,7 @@ local function processData(szType, content)
 	elseif szType == "ssd" then
 		result.type = v2_ss
 		result.v2ray_protocol = (v2_ss == "v2ray") and "shadowsocks" or nil
+		result.has_ss_type = has_ss_type
 		result.server = content.server
 		result.server_port = content.port
 		result.password = content.password