diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-24 20:45:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-24 20:45:52 +0000 |
commit | 52031f9f781929d05173edb6939886bf7118aa70 (patch) | |
tree | 1e6efa372796c260170b62a9e24284f00e31ff94 /usr/local/www/load_balancer_pool_edit.php | |
parent | 83b06cdc94c9465340f2d6ea026ef3536d34b243 (diff) | |
download | pfsense-52031f9f781929d05173edb6939886bf7118aa70.zip pfsense-52031f9f781929d05173edb6939886bf7118aa70.tar.gz |
Check interface ip address, not the gateway!
Diffstat (limited to 'usr/local/www/load_balancer_pool_edit.php')
-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}."; } } |