applications/luci-statistics: Add double quote around host and port. Closes: #154
This commit is contained in:
parent
8c71e234dc
commit
572e426a01
1 changed files with 2 additions and 2 deletions
|
@ -162,9 +162,9 @@ function config_network( c )
|
||||||
|
|
||||||
if host then
|
if host then
|
||||||
if port then
|
if port then
|
||||||
str = str .. "\t" .. key .. " " .. host .. " " .. port .. "\n"
|
str = str .. "\t" .. key .. " \"" .. host .. "\" \"" .. port .. "\"\n"
|
||||||
else
|
else
|
||||||
str = str .. "\t" .. key .. " " .. host .. "\n"
|
str = str .. "\t" .. key .. " \"" .. host .. "\"\n"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue