diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_status/bandwidth.htm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_status/bandwidth.htm b/modules/admin-full/luasrc/view/admin_status/bandwidth.htm index b8e031f6a4..25701fb417 100644 --- 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 |