1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

update status

This commit is contained in:
suyuan 2021-06-28 21:53:41 +08:00
parent 4b0ba621c3
commit d8d03b2ca3
17 changed files with 4 additions and 1 deletions

5
luci-app-status/luasrc/controller/status.lua Executable file → Normal file
View file

@ -295,7 +295,10 @@ function multipath_bandwidth()
local label = s["label"]
local dev = get_device(intname)
if dev == "" then
dev = get_device(s["ifname"])
dev = get_device(s["device"])
if dev == "" then
dev = get_device(s["ifname"])
end
end
local multipath = s["multipath"] or ""
if dev ~= "lo" and dev ~= "" then