summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_pool.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/load_balancer_pool.php')
-rwxr-xr-xusr/local/www/load_balancer_pool.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/load_balancer_pool.php b/usr/local/www/load_balancer_pool.php
index 584d184..0c57359 100755
--- a/usr/local/www/load_balancer_pool.php
+++ b/usr/local/www/load_balancer_pool.php
@@ -68,7 +68,7 @@ if ($_GET['act'] == "del") {
/* make sure no virtual servers reference this entry */
if (is_array($config['load_balancer']['virtual_server'])) {
foreach ($config['load_balancer']['virtual_server'] as $vs) {
- if ($vs['pool'] == $a_pool[$_GET['id']]['name']) {
+ if ($vs['poolname'] == $a_pool[$_GET['id']]['name']) {
$input_errors[] = gettext("This entry cannot be deleted because it is still referenced by at least one virtual server.");
break;
}
OpenPOWER on IntegriCloud