summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-06-01 14:46:27 -0500
committerChris Buechler <cmb@pfsense.org>2016-06-01 14:46:27 -0500
commitbe0ab085587523b9e25ed403dac98ad906b2374e (patch)
tree3b4341fb33eb9bba5f8ce9b324254eb65fd0f5a3 /src/usr/local/www/services_dhcp.php
parent00bdbab70fccb9cf53b50e14f8d6dc481d3b9fbf (diff)
downloadpfsense-be0ab085587523b9e25ed403dac98ad906b2374e.zip
pfsense-be0ab085587523b9e25ed403dac98ad906b2374e.tar.gz
Allow - in TFTP Server field. Ticket #6433
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r--src/usr/local/www/services_dhcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index f5c30f9..b1846ca 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -1121,7 +1121,7 @@ $section->addInput(new Form_IpAddress(
'tftp',
'TFTP Server',
$pconfig['tftp']
-))->setHelp('Leave blank to disable. Enter a full hostname or IP for the TFTP server.')->setPattern('[.a-zA-Z0-9_]+');
+))->setHelp('Leave blank to disable. Enter a full hostname or IP for the TFTP server.')->setPattern('[.a-zA-Z0-9_-]+');
// Advanced LDAP
$btnadv = new Form_Button(
OpenPOWER on IntegriCloud