git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
ea8465e
)
modules/admin-full: hide special interfaces like imq0, mon.wlan0 etc.
author
Jo-Philipp Wich
<redacted>
Sun, 28 Nov 2010 06:50:38 +0000
(06:50 +0000)
committer
Jo-Philipp Wich
<redacted>
Sun, 28 Nov 2010 06:50:38 +0000
(06:50 +0000)
modules/admin-full/luasrc/view/admin_status/bandwidth.htm
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/view/admin_status/bandwidth.htm
b/modules/admin-full/luasrc/view/admin_status/bandwidth.htm
index b8e031f6a4513fcb0a7b1218137efa71906eb9ce..25701fb417534fc809a91b67378f30347da88f27 100644
(file)
--- a/
modules/admin-full/luasrc/view/admin_status/bandwidth.htm
+++ b/
modules/admin-full/luasrc/view/admin_status/bandwidth.htm
@@
-13,10
+13,12
@@
$Id$
-%>
<%-
+ local ntm = require "luci.model.network".init()
+
local dev
local devices = { }
for _, dev in luci.util.kspairs(luci.sys.net.devices()) do
- if dev ~= "lo" then
+ if dev ~= "lo"
and not ntm:ignore_interface(dev)
then
devices[#devices+1] = dev
end
end
git clone https://git.99rst.org/PROJECT