summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/root')
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 01a974e2ad..171c1ae733 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -208,6 +208,13 @@ function _expand( s, n, nopad )
end
return str
+
+ elseif type(s) == "table" then
+ local str = ""
+
+ for i, v in ipairs(s) do
+ str = str .. _string( v, n, nopad )
+ end
end
end