summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-01-14 10:20:12 +0000
committerstilez <stilez@users.noreply.github.com>2016-01-14 10:20:12 +0000
commit5d4c261603a9607836c6549edc12a55cd2bd2f39 (patch)
tree3c3a4e9129e38befaa27d0e17f520e468a85832c /src/usr/local/www/services_dhcp.php
parent53f73530c9932a56f0f4b53cff06ed9cc7241b99 (diff)
downloadpfsense-5d4c261603a9607836c6549edc12a55cd2bd2f39.zip
pfsense-5d4c261603a9607836c6549edc12a55cd2bd2f39.tar.gz
EOL spaces
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r--src/usr/local/www/services_dhcp.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 4d0bc82..c3d5b18 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -400,14 +400,14 @@ if (isset($_POST['submit'])) {
if (!$input_errors) {
/* make sure the range lies within the current subnet */
- $subnet_start = gen_subnetv4($ifcfgip, $ifcfgsn);
- $subnet_end = gen_subnetv4_max($ifcfgip, $ifcfgsn);
+ $subnet_start = gen_subnetv4($ifcfgip, $ifcfgsn);
+ $subnet_end = gen_subnetv4_max($ifcfgip, $ifcfgsn);
- if (ip_greater_than($_POST['range_from'], $_POST['range_to'])) {
+ if (ip_greater_than($_POST['range_from'], $_POST['range_to'])) {
$input_errors[] = gettext("The range is invalid (first element higher than second element).");
}
- if (!is_inrange_v4($_POST['range_from'], $subnet_start, $subnet_end)) {
+ if (!is_inrange_v4($_POST['range_from'], $subnet_start, $subnet_end)) {
$input_errors[] = gettext("The specified range lies outside of the current subnet.");
}
@@ -440,7 +440,7 @@ if (isset($_POST['submit'])) {
if (empty($map['ipaddr'])) {
continue;
}
- if (is_inrange_v4($map['ipaddr'], $_POST['range_from'], $_POST['range_to'])) {
+ if (is_inrange_v4($map['ipaddr'], $_POST['range_from'], $_POST['range_to'])) {
$input_errors[] = sprintf(gettext("The DHCP range cannot overlap any static DHCP mappings."));
break;
}
OpenPOWER on IntegriCloud