diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/load_balancer_pool_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index d59aff7..2c8e4b5 100755 --- a/usr/local/www/load_balancer_pool_edit.php +++ b/usr/local/www/load_balancer_pool_edit.php @@ -100,9 +100,9 @@ if ($_POST) { $ifdescrs['opt' . $j] = "opt" . $j; } foreach($ifdescrs as $iface) { - if($config['interfaces'][$iface]['gateway'] <> "") - if($config['interfaces'][$iface]['gateway'] == $_POST['gateway']) - $input_errors[] = "{$_POST['gateway']} is currently being referenced by an interface ip address."; + if($config['interfaces'][$iface]['ipaddr'] <> "") + if($config['interfaces'][$iface]['ipaddr'] == $_POST['gateway']) + $input_errors[] = "{$_POST['gateway']} is currently being referenced by an interface ip address on {$iface}."; } } |