summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_pool_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-24 20:22:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-24 20:22:24 +0000
commit56dfd43464c7884cb2dc799f305e431d41bd80cb (patch)
treeabfcafee49227c32e7d0f150ccd8e23f7f94bb6f /usr/local/www/load_balancer_pool_edit.php
parent88551701a54cf3b84b91890f7810cc4cc60fcecb (diff)
downloadpfsense-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-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 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.";
}
}
OpenPOWER on IntegriCloud