update status
0
luci-app-status/Makefile
Executable file → Normal file
0
luci-app-status/htdocs/luci-static/resources/status/css/wanstatus.css
Executable file → Normal file
0
luci-app-status/htdocs/luci-static/resources/status/images/status-doing.png
Executable file → Normal file
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 536 B |
0
luci-app-status/htdocs/luci-static/resources/status/images/status-done.png
Executable file → Normal file
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 607 B |
0
luci-app-status/htdocs/luci-static/resources/status/images/status-error.png
Executable file → Normal file
Before Width: | Height: | Size: 575 B After Width: | Height: | Size: 575 B |
0
luci-app-status/htdocs/luci-static/resources/status/images/status-todo.png
Executable file → Normal file
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 536 B |
0
luci-app-status/htdocs/luci-static/resources/status/images/status-warn.png
Executable file → Normal file
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 544 B |
0
luci-app-status/htdocs/luci-static/resources/status/images/statusError.png
Executable file → Normal file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
0
luci-app-status/htdocs/luci-static/resources/status/images/statusOK.png
Executable file → Normal file
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
0
luci-app-status/htdocs/luci-static/resources/status/images/statusWarning.png
Executable file → Normal file
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
3
luci-app-status/luasrc/controller/status.lua
Executable file → Normal file
|
@ -294,9 +294,12 @@ function multipath_bandwidth()
|
||||||
local intname = s[".name"]
|
local intname = s[".name"]
|
||||||
local label = s["label"]
|
local label = s["label"]
|
||||||
local dev = get_device(intname)
|
local dev = get_device(intname)
|
||||||
|
if dev == "" then
|
||||||
|
dev = get_device(s["device"])
|
||||||
if dev == "" then
|
if dev == "" then
|
||||||
dev = get_device(s["ifname"])
|
dev = get_device(s["ifname"])
|
||||||
end
|
end
|
||||||
|
end
|
||||||
local multipath = s["multipath"] or ""
|
local multipath = s["multipath"] or ""
|
||||||
if dev ~= "lo" and dev ~= "" then
|
if dev ~= "lo" and dev ~= "" then
|
||||||
if multipath == "" then
|
if multipath == "" then
|
||||||
|
|