Changeset 6576

Show
Ignore:
Timestamp:
11/28/10 07:50:38 (2 years ago)
Author:
jow
Message:

modules/admin-full: hide special interfaces like imq0, mon.wlan0 etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/modules/admin-full/luasrc/view/admin_status/bandwidth.htm

    r6575 r6576  
    1414 
    1515<%- 
     16    local ntm = require "luci.model.network".init() 
     17 
    1618    local dev 
    1719    local devices = { } 
    1820    for _, dev in luci.util.kspairs(luci.sys.net.devices()) do 
    19         if dev ~= "lo" then 
     21        if dev ~= "lo" and not ntm:ignore_interface(dev) then 
    2022            devices[#devices+1] = dev 
    2123        end