X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-vnstat%2Fluasrc%2Fview%2Fvnstat.htm;h=2b8d9ff9c902a0e84e8cd9da49260974aba4466f;hp=cfa1a5de513ccad0da9287fd075f074493978a1c;hb=e8349fbfdf5de82ba3f3e9d147c0ddfa31c2293c;hpb=41d2b33087da393453c45f5d923d690c88ee5474 diff --git a/applications/luci-app-vnstat/luasrc/view/vnstat.htm b/applications/luci-app-vnstat/luasrc/view/vnstat.htm index cfa1a5de5..2b8d9ff9c 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%> -

<%:VnStat Graphs%>

+

<%:VnStat Graphs%>