summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rwxr-xr-xapplications/luci-app-statistics/root/usr/bin/stat-genconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-statistics/root/usr/bin/stat-genconfig b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
index b03b547d48..fa59edc3a9 100755
--- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
@@ -251,8 +251,8 @@ function _string( s, n, nopad )
if not nopad then pad = "\t" end
if s then
- if s:find("[^%d]") or n == "Port" then
- if not s:find("[^%w]") and n ~= "Port" then
+ if s:find("[^%d]") or n == "Port" or n == "Irq" then
+ if not s:find("[^%w]") and n ~= "Port" and n ~= "Irq" then
str = pad .. n .. " " .. luci.util.trim(s)
else
str = pad .. n .. ' "' .. luci.util.trim(s) .. '"'