summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-18 16:50:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-18 16:50:18 +0000
commitc1ca9106b85de3fb105ca97aa71b89bc43c3f7a0 (patch)
treed512340bcab8ac5adb9b64066988e1e15f053d03 /modules
parentf54ef008f8ee721ab174ef2daa2c55da04ed32c1 (diff)
modules/admin-full: properly display interface stats for networks with underscores
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua2
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 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