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:38:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-24 20:38:29 +0000
commit401a52c7d5c2f2e29a43b3e406ae54e27b4618eb (patch)
tree933706bdbb1b8bfe11e959123cb88d6f1e4dde82 /usr/local/www/load_balancer_pool_edit.php
parent30cbce9c1e5cbaf609e986fb4a450db048cd99df (diff)
downloadpfsense-401a52c7d5c2f2e29a43b3e406ae54e27b4618eb.zip
pfsense-401a52c7d5c2f2e29a43b3e406ae54e27b4618eb.tar.gz
Third times a charm. Compare the interface gateway settings 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 015339b..5f04ba8 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($config[$iface]['gateway'] == $_POST['gateway'])
+ if($config['interfaces'][$iface]['gateway'] == $_POST['gateway'])
$input_errors[] = "{$_POST['gateway']} is currently being referenced by an interface ip address.";
}
}
OpenPOWER on IntegriCloud