Project

General

Profile

Bug #3384 ยป etc-inc-system.inc.patch

Add "limited" to ntpd.conf - Jeroen Roovers, 01/04/2014 08:13 AM

View differences:

etc/inc/system.inc
1388 1289
	$ntpcfg .= "statsdir {$statsdir}\n";
1389 1290
	$ntpcfg .= "logconfig =syncall +clockall\n";
1390 1291
	$ntpcfg .= "driftfile {$driftfile}\n";
1391
	$ntpcfg .= "restrict default kod nomodify notrap nopeer\n";
1392
	$ntpcfg .= "restrict -6 default kod nomodify notrap nopeer\n";
1292
	$ntpcfg .= "restrict default kod nomodify notrap nopeer limited\n";
1293
	$ntpcfg .= "restrict -6 default kod nomodify notrap nopeer limited\n";
1393 1294

  
1394 1295
	if (empty($config['ntpd']['interface']))
1395 1296
		if (is_array($config['installedpackages']['openntpd']) && !empty($config['installedpackages']['openntpd']['config'][0]['interface']))
    (1-1/1)