summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig4
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 4272169c3a..8bd6262ef6 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