From 572e426a01e90c4e54fed8e863a2e5e182557725 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Thu, 18 Nov 2010 13:12:51 +0000 Subject: [PATCH] applications/luci-statistics: Add double quote around host and port. Closes: #154 --- applications/luci-statistics/root/usr/bin/stat-genconfig | 4 ++-- 1 file 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 -- 2.25.1