diff options
author | doktornotor <notordoktor@gmail.com> | 2016-07-31 11:27:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-31 11:27:20 +0200 |
commit | c411661a8e8f9f9eb014a24954b9be2fcaaece18 (patch) | |
tree | c42849019a13085d146fd90c6365fa54c40ef5e7 /src/usr/local | |
parent | 8ff248d6a3f31dba42c4c64b5290928030faad4a (diff) | |
download | pfsense-c411661a8e8f9f9eb014a24954b9be2fcaaece18.zip pfsense-c411661a8e8f9f9eb014a24954b9be2fcaaece18.tar.gz |
Allow URLs for TFTP Server (Bug #6634)
The setPattern() thing ain't usable for this and just causes regressions.
Diffstat (limited to 'src/usr/local')
-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 bda57b7..d892cab 100644 --- a/src/usr/local/www/services_dhcp.php +++ b/src/usr/local/www/services_dhcp.php @@ -1084,11 +1084,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( |