summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-vnstat')
-rw-r--r--applications/luci-app-vnstat/luasrc/view/vnstat.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-vnstat/luasrc/view/vnstat.htm b/applications/luci-app-vnstat/luasrc/view/vnstat.htm
index cfa1a5de51..2b502559b8 100644
--- a/applications/luci-app-vnstat/luasrc/view/vnstat.htm
+++ b/applications/luci-app-vnstat/luasrc/view/vnstat.htm
@@ -22,7 +22,7 @@ style = (style and #style > 0) and style or "s"
--
if iface then
style = style:gsub("[^%w]", "")
- iface = iface:gsub("[^%w%.%-]", "")
+ iface = iface:gsub("[^%w%.%-%_]", "")
luci.http.prepare_content("image/png")