Răsfoiți Sursa

Merge pull request #382 from Mattraks/patch-1

Fix the client v2ray/xray type display
coolsnowwolf 4 ani în urmă
părinte
comite
3b9e7eb54f

+ 2 - 2
luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua

@@ -10,9 +10,9 @@ m:section(SimpleSection).template = "shadowsocksr/status"
 local server_table = {}
 local server_table = {}
 uci:foreach("shadowsocksr", "servers", function(s)
 uci:foreach("shadowsocksr", "servers", function(s)
 	if s.alias then
 	if s.alias then
-		server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.type), s.alias}
+		server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.v2ray_protocol or s.type), s.alias}
 	elseif s.server and s.server_port then
 	elseif s.server and s.server_port then
-		server_table[s[".name"]] = "[%s]:%s:%s" % {string.upper(s.type), s.server, s.server_port}
+		server_table[s[".name"]] = "[%s]:%s:%s" % {string.upper(s.v2ray_protocol or s.type), s.server, s.server_port}
 	end
 	end
 end)
 end)
 
 

+ 1 - 0
luci-app-ssr-plus/root/etc/ssrplus/china_ssr.txt

@@ -4128,6 +4128,7 @@
 103.162.10.0/23
 103.162.10.0/23
 103.162.32.0/23
 103.162.32.0/23
 103.162.38.0/23
 103.162.38.0/23
+103.162.116.0/23
 103.192.0.0/22
 103.192.0.0/22
 103.192.4.0/22
 103.192.4.0/22
 103.192.8.0/22
 103.192.8.0/22

Fișier diff suprimat deoarece este prea mare
+ 206 - 172
luci-app-ssr-plus/root/etc/ssrplus/gfw_list.conf


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff