Merge pull request #3151 from EdHurtig/eng/6806

This commit is contained in:
Renato Botelho 2016-10-12 13:20:42 -03:00
commit dd3d6c8a15

View File

@ -1074,13 +1074,13 @@ $section->addInput(new Form_IpAddress(
'ntp1',
'NTP Server 1',
$pconfig['ntp1']
))->setPattern('[.a-zA-Z0-9_]+');
))->setPattern('[.a-zA-Z0-9-]+');
$section->addInput(new Form_IpAddress(
'ntp2',
'NTP Server 2',
$pconfig['ntp2']
))->setPattern('[.a-zA-Z0-9_]+');
))->setPattern('[.a-zA-Z0-9-]+');
// Advanced TFTP
$btnadv = new Form_Button(