summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 13:20:42 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 13:20:42 -0300
commitdd3d6c8a158a74478ed093debdd178dbfa61c144 (patch)
treea0f805ec2f5ec6f1fcccfcf67edd2aff890bfa2e /src/usr/local/www/services_dhcp.php
parentbc0a0c2e63f5416ee9f0d12036f4d30c449fdc3f (diff)
parentc68dbfc7580180cd9d47bdbecaeeb6cf835fe210 (diff)
downloadpfsense-dd3d6c8a158a74478ed093debdd178dbfa61c144.zip
pfsense-dd3d6c8a158a74478ed093debdd178dbfa61c144.tar.gz
Merge pull request #3151 from EdHurtig/eng/6806
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r--src/usr/local/www/services_dhcp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 58dec83..224ff3e 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -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(
OpenPOWER on IntegriCloud