summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-vnstat/luasrc')
-rw-r--r--applications/luci-app-vnstat/luasrc/view/vnstat.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-vnstat/luasrc/view/vnstat.htm b/applications/luci-app-vnstat/luasrc/view/vnstat.htm
index cfa1a5de51..2b8d9ff9c9 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")
@@ -56,7 +56,7 @@ dbdir = dbdir or "/var/lib/vnstat"
<%+header%>
-<h2><a id="content" name="content"><%:VnStat Graphs%></a></h2>
+<h2 name="content"><%:VnStat Graphs%></h2>
<form action="" method="get">