From: Jo-Philipp Wich Date: Fri, 18 Mar 2011 16:50:18 +0000 (+0000) Subject: modules/admin-full: properly display interface stats for networks with underscores X-Git-Tag: 0.11.0~2190 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c1ca9106b85de3fb105ca97aa71b89bc43c3f7a0;p=oweals%2Fluci.git modules/admin-full: properly display interface stats for networks with underscores --- diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index dd3468ff2..bed96d89f 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -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