浏览代码

luci-app-ssr-plus: avoid crash when ss encrypt method is stream-cipher

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 4 年之前
父节点
当前提交
4ecf201a68
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua

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

@@ -248,7 +248,7 @@ local function processData(szType, content)
 			result.password = password
 		else
 			-- 1202 年了还不支持 SS AEAD 的屑机场
-			result = nil
+			result.server = nil
 		end
 	elseif szType == "ssd" then
 		result.type = "ss"