modules/admin-full: properly display interface stats for networks with underscores
[project/luci.git] / modules / admin-full / luasrc / controller / admin / network.lua
index dd3468f..bed96d8 100644 (file)
@@ -207,7 +207,7 @@ function iface_status()
        local rv   = { }
 
        local iface
-       for iface in path[#path]:gmatch("[%w%.%-]+") do
+       for iface in path[#path]:gmatch("[%w%.%-_]+") do
                local net = netm:get_network(iface)
                if net then
                        local info