summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r--src/usr/local/www/services_dhcp.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 27c64a8..bb31e60 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -1127,15 +1127,15 @@ $section->addInput(new Form_IpAddress(
'ntp1',
'NTP Server 1',
$pconfig['ntp1'],
- 'V4'
-))->setPattern('[.a-zA-Z0-9-]+');
+ 'HOSTV4'
+));
$section->addInput(new Form_IpAddress(
'ntp2',
'NTP Server 2',
$pconfig['ntp2'],
- 'V4'
-))->setPattern('[.a-zA-Z0-9-]+');
+ 'HOSTV4'
+));
// Advanced TFTP
$btnadv = new Form_Button(
OpenPOWER on IntegriCloud