mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix status page proxy check
This commit is contained in:
parent
7289c40028
commit
2ba607e340
1 changed files with 2 additions and 1 deletions
|
@ -1037,7 +1037,8 @@ function interfaces_status()
|
|||
mArray.openmptcprouter["shadowsocks_enabled"] = true
|
||||
local ss_server = "1"
|
||||
ucic:foreach("shadowsocks-libev", "server", function(s)
|
||||
if uci:get("shadowsocks-libev",s[".name"],"disabled") == "0" then
|
||||
local ss_server_disabled = uci:get("shadowsocks-libev",s[".name"],"disabled") or "0"
|
||||
if ss_server_disabled == "0" then
|
||||
ss_server = "0"
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue