diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-11-18 13:12:51 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-11-18 13:12:51 +0000 |
commit | 572e426a01e90c4e54fed8e863a2e5e182557725 (patch) | |
tree | 8b29ceb867aac152f94d1afde1e2548d3102d55b /applications | |
parent | 8c71e234dcfc78b6053912d89e2e25731671f9a3 (diff) |
applications/luci-statistics: Add double quote around host and port. Closes: #154
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-statistics/root/usr/bin/stat-genconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig index 4272169c3..8bd6262ef 100755 --- 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 |