summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/services_dhcp_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 6e81277..a66a360 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -188,7 +188,7 @@ if ($_POST) {
$input_errors[] = sprintf(gettext("The IP address must not be within the DHCP range for this interface."));
}
- foreach ($a_pools as $id => $p) {
+ foreach ($a_pools as $pidx => $p) {
if (is_inrange_v4($_POST['ipaddr'], $p['range']['from'], $p['range']['to'])) {
$input_errors[] = gettext("The IP address must not be within the range configured on a DHCP pool for this interface.");
break;
OpenPOWER on IntegriCloud