summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/load_balancer_pool_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php
index 015339b..5f04ba8 100755
--- a/usr/local/www/load_balancer_pool_edit.php
+++ b/usr/local/www/load_balancer_pool_edit.php
@@ -100,7 +100,7 @@ if ($_POST) {
$ifdescrs['opt' . $j] = "opt" . $j;
}
foreach($ifdescrs as $iface) {
- if($config[$iface]['gateway'] == $_POST['gateway'])
+ if($config['interfaces'][$iface]['gateway'] == $_POST['gateway'])
$input_errors[] = "{$_POST['gateway']} is currently being referenced by an interface ip address.";
}
}
OpenPOWER on IntegriCloud