diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-24 20:22:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-24 20:22:24 +0000 |
commit | 56dfd43464c7884cb2dc799f305e431d41bd80cb (patch) | |
tree | abfcafee49227c32e7d0f150ccd8e23f7f94bb6f /usr/local/www/load_balancer_pool_edit.php | |
parent | 88551701a54cf3b84b91890f7810cc4cc60fcecb (diff) | |
download | pfsense-56dfd43464c7884cb2dc799f305e431d41bd80cb.zip pfsense-56dfd43464c7884cb2dc799f305e431d41bd80cb.tar.gz |
Actually check interface gateway.
Ticket #1039
Diffstat (limited to 'usr/local/www/load_balancer_pool_edit.php')
-rwxr-xr-x | usr/local/www/load_balancer_pool_edit.php | 2 |
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 c3e31c1..c914fe6 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."; } } |