mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
This commit is contained in:
parent
729355ac2b
commit
1bdb327224
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
end
|
end
|
||||||
|
|
||||||
local curdev = luci.dispatcher.context.requestpath
|
local curdev = luci.dispatcher.context.requestpath
|
||||||
curdev = curdev[#curdev] ~= "multipath" and curdev[#curdev] or devices[1]
|
curdev = curdev[#curdev] ~= "bandwidth" and curdev[#curdev] or devices[1]
|
||||||
if curdev == "" then
|
if curdev == "" then
|
||||||
curdev = "all"
|
curdev = "all"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue