Explorar el Código

Merge pull request #1726 from zxlhhyccc/custom

luci-app-ssr-plus: Add `SS` version options for `sip008` and `ssd`.
zxl hhyccc hace 5 meses
padre
commit
9f6cf057a9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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