From: Manuel Munz Date: Thu, 18 Nov 2010 13:12:51 +0000 (+0000) Subject: applications/luci-statistics: Add double quote around host and port. Closes: #154 X-Git-Tag: 0.10.0~413 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=572e426a01e90c4e54fed8e863a2e5e182557725;p=oweals%2Fluci.git applications/luci-statistics: Add double quote around host and port. Closes: #154 --- 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