summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-10-03 10:09:04 -0400
committerjim-p <jimp@pfsense.org>2013-10-03 10:10:17 -0400
commit619753eeea1d3e0e67d0a35aeb6ab3be44f40604 (patch)
tree488fd65e6ab6978e094876a5f0812b0eb0d693bc /usr
parent58ba45135565dcc715ec9105cbfa4d4083fe621a (diff)
downloadpfsense-619753eeea1d3e0e67d0a35aeb6ab3be44f40604.zip
pfsense-619753eeea1d3e0e67d0a35aeb6ab3be44f40604.tar.gz
Fix display of pools in the LB status widget and on the LB Virtual Server status.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_lb_vs.php2
-rw-r--r--usr/local/www/widgets/widgets/load_balancer_status.widget.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_lb_vs.php b/usr/local/www/status_lb_vs.php
index cb1ce0d..c389287 100755
--- a/usr/local/www/status_lb_vs.php
+++ b/usr/local/www/status_lb_vs.php
@@ -93,7 +93,7 @@ include("head.inc");
<table border="0" cellpadding="0" cellspacing="2">
<?php
foreach ($a_pool as $vipent) {
- if ($vipent['name'] == $vsent['pool']) {
+ if ($vipent['name'] == $vsent['poolname']) {
foreach ((array) $vipent['servers'] as $server) {
print "<tr><td> {$server} </td></tr>";
}
diff --git a/usr/local/www/widgets/widgets/load_balancer_status.widget.php b/usr/local/www/widgets/widgets/load_balancer_status.widget.php
index 3ec5ba6..47da743 100644
--- a/usr/local/www/widgets/widgets/load_balancer_status.widget.php
+++ b/usr/local/www/widgets/widgets/load_balancer_status.widget.php
@@ -94,7 +94,7 @@ if (!$nentries)
<table border="0" cellpadding="0" cellspacing="2" summary="status">
<?php
foreach ($a_pool as $pool) {
- if ($pool['name'] == $vsent['pool']) {
+ if ($pool['name'] == $vsent['poolname']) {
$pool_hosts=array();
foreach ((array) $pool['servers'] as $server) {
$svr['ip']['addr']=$server;
OpenPOWER on IntegriCloud