summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-02 08:27:22 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-02 08:27:22 -0300
commit0db055f097510b72854397dfa9cafb88851d6235 (patch)
tree2eed5b7684c81b6dd300e7fad125d54c0be1ab06 /usr
parent0bb15b996487dd3a3b9fafcf6c4f66d5261015e1 (diff)
parent4e6b0a0e084d1637fa23e34b3545096ac30e009f (diff)
downloadpfsense-0db055f097510b72854397dfa9cafb88851d6235.zip
pfsense-0db055f097510b72854397dfa9cafb88851d6235.tar.gz
Merge pull request #1219 from nagyrobi/patch-13
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/services_ntpd.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php
index f3b8c72..d11efc8 100644
--- a/usr/local/www/services_ntpd.php
+++ b/usr/local/www/services_ntpd.php
@@ -83,6 +83,8 @@ if ($_POST) {
if (!empty($_POST["servselect{$i}"])) $config['ntpd']['noselect'].= "{$tserver} ";
}
}
+ if (trim($timeservers) == "")
+ $timeservers = "pool.ntp.org";
$config['system']['timeservers'] = trim($timeservers);
if (!empty($_POST['ntporphan']) && ($_POST['ntporphan'] < 17) && ($_POST['ntporphan'] != '12'))
OpenPOWER on IntegriCloud