modules/admin-full: properly display interface stats for networks with underscores

This commit is contained in:
Jo-Philipp Wich 2011-03-18 16:50:18 +00:00
parent f54ef008f8
commit c1ca9106b8

View 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