mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow reserved IP addresses to fall within the DHCP Server range. DHCPD
does not barf with these changes, so why not?
This commit is contained in:
parent
84dd787e75
commit
e2bce3426d
@ -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.";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user