Merge pull request #1651 from zxlhhyccc/patch-2

luci-app-ssr-plus: shadowsocksr.lua: Repair code.
This commit is contained in:
coolsnowwolf authored and GitHub committed 2024-12-31 14:14:19 +08:00
commit aef448bd2e
1 file changed
+1 -1
@@ -111,7 +111,7 @@ function check_port()
ret = socket:connect(s.server, s.server_port)
if tostring(ret) == "true" then
socket:close()
retstring .. "<font><b style='color:green'>[" .. server_name .. "] OK.</b></font><br />"
retstring = retstring .. "<font><b style='color:green'>[" .. server_name .. "] OK.</b></font><br />"
else
retstring = retstring .. "<font><b style='color:red'>[" .. server_name .. "] Error.</b></font><br />"
end