Update ssr-plus.patch

This commit is contained in:
kiddin9 2026-03-22 12:48:36 +08:00 committed by GitHub
parent 0b982199ba
commit e7f88458b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,12 +12,12 @@
--- a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
+++ b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
@@ -28,11 +28,67 @@ function index()
@@ -76,10 +76,66 @@ function index()
entry({"admin", "services", "shadowsocksr", "remove_node"}, call("act_remove"))
entry({"admin", "services", "shadowsocksr", "save_node_order"}, call("act_save_order")).leaf = true
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情况
--[[Backup]]
--[[Backup]]
entry({"admin", "services", "shadowsocksr", "backup"}, call("create_backup")).leaf = true
end