Update ssr-plus.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-03-22 12:37:02 +08:00
1 parent 8d51db5ffa
commit 922bb501de
1 file changed
+3 -4
+3 -4
View File
@@ -13,13 +13,12 @@
--- a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua --- a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
+++ b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua +++ b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
@@ -28,11 +28,67 @@ function index() @@ -28,11 +28,67 @@ function index()
entry({"admin", "services", "shadowsocksr", "reset"}, call("act_reset")) entry({"admin", "services", "shadowsocksr", "remove_node"}, call("act_remove"))
entry({"admin", "services", "shadowsocksr", "restart"}, call("act_restart")) entry({"admin", "services", "shadowsocksr", "save_node_order"}, call("act_save_order")).leaf = true
entry({"admin", "services", "shadowsocksr", "delete"}, call("act_delete")) entry({"admin", "services", "shadowsocksr", "get_now_use_node"}, call("act_get_now_use_node")).leaf = true
+ entry({'admin', 'services', "shadowsocksr", 'ip'}, call('check_ip')) -- 获取ip情况 + entry({'admin', 'services', "shadowsocksr", 'ip'}, call('check_ip')) -- 获取ip情况
--[[Backup]] --[[Backup]]
entry({"admin", "services", "shadowsocksr", "backup"}, call("create_backup")).leaf = true entry({"admin", "services", "shadowsocksr", "backup"}, call("create_backup")).leaf = true
end end
+function check_site(host, port) +function check_site(host, port)