git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c66a688
)
applications/luci-statistics: cope with uci list values, thanks Bluse for reporting...
author
Jo-Philipp Wich
<redacted>
Thu, 6 Sep 2012 20:15:05 +0000
(20:15 +0000)
committer
Jo-Philipp Wich
<redacted>
Thu, 6 Sep 2012 20:15:05 +0000
(20:15 +0000)
applications/luci-statistics/root/usr/bin/stat-genconfig
patch
|
blob
|
history
diff --git
a/applications/luci-statistics/root/usr/bin/stat-genconfig
b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 01a974e2ad8a16c70ab3fb435b8b729bc22ac8c0..171c1ae733fe9c0e6e41aac7f2cc9897bf284d5a 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT