Revision 37c922a6
Added by Jim Pingle over 12 years ago
usr/local/www/services_dhcp_edit.php | ||
---|---|---|
188 | 188 |
$input_errors[] = sprintf(gettext("The IP address must not be within the DHCP range for this interface.")); |
189 | 189 |
} |
190 | 190 |
|
191 |
foreach ($a_pools as $id => $p) {
|
|
191 |
foreach ($a_pools as $pidx => $p) {
|
|
192 | 192 |
if (is_inrange_v4($_POST['ipaddr'], $p['range']['from'], $p['range']['to'])) { |
193 | 193 |
$input_errors[] = gettext("The IP address must not be within the range configured on a DHCP pool for this interface."); |
194 | 194 |
break; |
Also available in: Unified diff
Don't stomp on this variable or data loss can occur (disappearing static mappings)