Revision ccea6c2f
Added by Manuel Piovan over 5 years ago
src/usr/local/www/services_ntpd.php | ||
---|---|---|
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
if (!array_key_exists($pconfig['ntpmaxpoll'], $ntp_poll_values)) { |
75 |
$input_errors[] = gettext("The supplied value for Maximum Poll Interval is invalid.");
|
|
75 |
$input_errors[] = gettext("The supplied value for Poll Interval is invalid."); |
|
76 | 76 |
} |
77 | 77 |
|
78 | 78 |
for ($i = 0; $i < NUMTIMESERVERS; $i++) { |
... | ... | |
331 | 331 |
|
332 | 332 |
$section->addInput(new Form_Input( |
333 | 333 |
'ntpmaxpeers', |
334 |
'Max Pool Peers',
|
|
334 |
'Max candidate NTP peers',
|
|
335 | 335 |
'number', |
336 | 336 |
$pconfig['ntpmaxpeers'], |
337 | 337 |
['min' => 4, 'max' => 10] |
338 |
))->setHelp('Maximum NTP peers to check. Remember that many servers inside pools are provided by volunteers, ' .
|
|
338 |
))->setHelp('Maximum candidate NTP peers. Remember that many servers inside pools are provided by volunteers, ' .
|
|
339 | 339 |
'all you will gain from a higher number is extra load on the volunteer time servers. (Default: 4).'); |
340 | 340 |
|
341 | 341 |
$section->addInput(new Form_Input( |
Also available in: Unified diff
Update services_ntpd.php
correction as suggested by David from https://redmine.pfsense.org/issues/10323