summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-03 04:16:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-03 04:16:25 +0000
commite2bce3426dfbc3c74809ad7bcecdd33ceb5c9beb (patch)
tree877ebc35eb2ac93a682c29f924fe785cfffcce8f /usr/local/www/services_dhcp.php
parent84dd787e757c03d85c9d24b33d479f0a151a4f56 (diff)
downloadpfsense-e2bce3426dfbc3c74809ad7bcecdd33ceb5c9beb.zip
pfsense-e2bce3426dfbc3c74809ad7bcecdd33ceb5c9beb.tar.gz
Allow reserved IP addresses to fall within the DHCP Server range. DHCPD
does not barf with these changes, so why not?
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-xusr/local/www/services_dhcp.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 3691ed1..25a34bd 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -130,14 +130,7 @@ if ($_POST) {
$reqdfieldsn = explode(",", "Range begin,Range end");
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
-
- foreach($a_maps as $mapent) {
- if(is_inrange($mapent['ipaddr'], $_POST['range_from'], $_POST['range_to'])) {
- $input_errors[] = "{$mapent['ipaddr']} is inside the range you specified.";
- }
-
- }
-
+
if (($_POST['range_from'] && !is_ipaddr($_POST['range_from']))) {
$input_errors[] = "A valid range must be specified.";
}
OpenPOWER on IntegriCloud