From 889247b33438227c12333fc9d06c56b6ba4cb7f4 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Wed, 1 Jun 2016 14:46:27 -0500 Subject: Allow - in TFTP Server field. Ticket #6433 --- src/usr/local/www/services_dhcp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.1