luci-app-vnstat: Fix blank graphs for iface names with underscores 426/head
authorMichael Marley <michael@michaelmarley.com>
Sun, 12 Jul 2015 15:38:40 +0000 (11:38 -0400)
committerMichael Marley <michael@michaelmarley.com>
Sun, 12 Jul 2015 15:45:23 +0000 (11:45 -0400)
commitb1b0ba5ba96c0ed3375cd1bf1792bd1548a8fab1
tree70a64768190bb44f348020b30bc7feb8c29b4005
parent6d788d82f139ba10b08384fba42f25d13bd6f47a
luci-app-vnstat: Fix blank graphs for iface names with underscores

The regex used to process the iface query string argument in
vnstat.htm was stripping underscores, which caused the graph not to
display for interfaces with names containing underscores.  This
patch adds the underscore to that regex so that the interface name
will be correct and the graph will be displayed.

Signed-off-by: Michael Marley <michael@michaelmarley.com>
applications/luci-app-vnstat/luasrc/view/vnstat.htm