applications/luci-statistics: Add double quote around host and port. Closes: #154

This commit is contained in:
Manuel Munz 2010-11-18 13:12:51 +00:00
parent 8c71e234dc
commit 572e426a01

View file

@ -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