summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2016-07-31 10:25:07 +0200
committerGitHub <noreply@github.com>2016-07-31 10:25:07 +0200
commit4b79a9d443c4e16d6ffa304775aec79938d2988c (patch)
tree0d6a76669b80fc6a5ae0b7945dc7308ff0aea65e /src/usr
parent483816313924f87707bca0aa983c73064bd52371 (diff)
downloadpfsense-4b79a9d443c4e16d6ffa304775aec79938d2988c.zip
pfsense-4b79a9d443c4e16d6ffa304775aec79938d2988c.tar.gz
Typo fix
Diffstat (limited to 'src/usr')
-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 74d9746..bda57b7 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -329,7 +329,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']))) {
OpenPOWER on IntegriCloud