diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index c3e31c14ff..c914fe6b13 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($iface['gateway'] == $_POST['gateway']) + if($config[$iface]['gateway'] == $_POST['gateway']) $input_errors[] = "{$iface['gateway']} is currently being referenced by a interface ip address."; } }