diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-18 16:50:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-18 16:50:18 +0000 |
commit | c1ca9106b85de3fb105ca97aa71b89bc43c3f7a0 (patch) | |
tree | d512340bcab8ac5adb9b64066988e1e15f053d03 /modules/admin-full/luasrc | |
parent | f54ef008f8ee721ab174ef2daa2c55da04ed32c1 (diff) |
modules/admin-full: properly display interface stats for networks with underscores
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/network.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index dd3468ff22..bed96d89f7 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 |