diff options
author | doktornotor <notordoktor@gmail.com> | 2016-07-31 11:27:20 +0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-04 18:48:05 -0300 |
commit | 8a4cc539ad0e08c5092d924d383bc413135f355d (patch) | |
tree | 95552ce47b7afc433490e5c131b811ebf5a5d373 /src/usr/local/www/services_dhcp.php | |
parent | 8b125927d25260d5f8b724057aed869815578d95 (diff) | |
download | pfsense-8a4cc539ad0e08c5092d924d383bc413135f355d.zip pfsense-8a4cc539ad0e08c5092d924d383bc413135f355d.tar.gz |
Allow URLs for TFTP Server (Bug #6634)
The setPattern() thing ain't usable for this and just causes regressions.
(cherry picked from commit c411661a8e8f9f9eb014a24954b9be2fcaaece18)
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r-- | src/usr/local/www/services_dhcp.php | 4 |
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 d8ba9d9..955ea11 100644 --- a/src/usr/local/www/services_dhcp.php +++ b/src/usr/local/www/services_dhcp.php @@ -1125,11 +1125,11 @@ $section->addInput(new Form_StaticText( $btnadv )); -$section->addInput(new Form_IpAddress( +$section->addInput(new Form_Input( '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 valid IP address, hostname or URL for the TFTP server.'); // Advanced LDAP $btnadv = new Form_Button( |