From c1ca9106b85de3fb105ca97aa71b89bc43c3f7a0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 18 Mar 2011 16:50:18 +0000 Subject: modules/admin-full: properly display interface stats for networks with underscores --- modules/admin-full/luasrc/controller/admin/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3