summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 6bf32f3..a9925e8 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1311,6 +1311,8 @@ function system_ntp_configure($start_ntpd=true) {
$ntpcfg .= "statsdir {$statsdir}\n";
$ntpcfg .= "logconfig =syncall +clockall\n";
$ntpcfg .= "driftfile {$driftfile}\n";
+ $ntpcfg .= "restrict default kod nomodify notrap nopeer\n";
+ $ntpcfg .= "restrict -6 default kod nomodify notrap nopeer\n";
if (empty($config['ntpd']['interface']))
if (is_array($config['installedpackages']['openntpd']) && !empty($config['installedpackages']['openntpd']['config'][0]['interface']))
OpenPOWER on IntegriCloud