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:
8c71e23
)
applications/luci-statistics: Add double quote around host and port. Closes: #154
author
Manuel Munz
<redacted>
Thu, 18 Nov 2010 13:12:51 +0000
(13:12 +0000)
committer
Manuel Munz
<redacted>
Thu, 18 Nov 2010 13:12:51 +0000
(13:12 +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 4272169c3add284a5806618c1e45640ab4516c3c..8bd6262ef6504e9b40dae3abea047b679fae837f 100755
(executable)
--- a/
applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/
applications/luci-statistics/root/usr/bin/stat-genconfig
@@
-162,9
+162,9
@@
function config_network( c )
if host then
if port then
- str = str .. "\t" .. key .. "
" .. host .. " " .. port ..
"\n"
+ str = str .. "\t" .. key .. "
\"" .. host .. "\" \"" .. port .. "\
"\n"
else
- str = str .. "\t" .. key .. "
" .. host ..
"\n"
+ str = str .. "\t" .. key .. "
\"" .. host .. "\
"\n"
end
end
end
git clone https://git.99rst.org/PROJECT