diff options
author | doktornotor <notordoktor@gmail.com> | 2016-07-31 10:25:07 +0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-04 18:47:09 -0300 |
commit | b6843da761b644f6b4cc39acd565754295a7eb0e (patch) | |
tree | cd164e84220fd99360332e1b0e91e72cb84d8a52 /src/usr/local/www/services_dhcp.php | |
parent | 2e5a481c91eddcc4fbdff189eee4a0afe9cfaa63 (diff) | |
download | pfsense-b6843da761b644f6b4cc39acd565754295a7eb0e.zip pfsense-b6843da761b644f6b4cc39acd565754295a7eb0e.tar.gz |
Typo fix
(cherry picked from commit 4b79a9d443c4e16d6ffa304775aec79938d2988c)
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r-- | src/usr/local/www/services_dhcp.php | 2 |
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 4d7d120..d8ba9d9 100644 --- a/src/usr/local/www/services_dhcp.php +++ b/src/usr/local/www/services_dhcp.php @@ -362,7 +362,7 @@ if (isset($_POST['save'])) { if (($_POST['domain'] && !is_domain($_POST['domain']))) { $input_errors[] = gettext("A valid domain name must be specified for the DNS domain."); } - f ($_POST['tftp'] && !is_ipaddrv4($_POST['tftp']) && !is_domain($_POST['tftp']) && !filter_var($_POST['tftp'], FILTER_VALIDATE_URL)) { + if ($_POST['tftp'] && !is_ipaddrv4($_POST['tftp']) && !is_domain($_POST['tftp']) && !filter_var($_POST['tftp'], FILTER_VALIDATE_URL)) { $input_errors[] = gettext("A valid IP address, hostname or URL must be specified for the TFTP server."); } if (($_POST['nextserver'] && !is_ipaddrv4($_POST['nextserver']))) { |