summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-10 14:34:21 -0400
committerjim-p <jimp@pfsense.org>2010-06-10 14:34:21 -0400
commit2a63a07f3e25d25e8d6e33b554ce08ba5056bad2 (patch)
tree543b76d7151303f407fb1414a426804b39af2f1c /usr/local/www/carp_status.php
parent1ce96d36eec8c11b7f99146d5a81be11bdf5be4d (diff)
downloadpfsense-2a63a07f3e25d25e8d6e33b554ce08ba5056bad2.zip
pfsense-2a63a07f3e25d25e8d6e33b554ce08ba5056bad2.tar.gz
Don't use a fake CARP VIP name since it doesn't match up with the new style names, which are already properly obtained in this code block.
Diffstat (limited to 'usr/local/www/carp_status.php')
-rwxr-xr-xusr/local/www/carp_status.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index 9b49f14..793a9ae 100755
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -122,7 +122,6 @@ include("head.inc");
}
if(is_array($config['virtualip']['vip'])) {
- $carpint=0;
foreach($config['virtualip']['vip'] as $carp) {
if ($carp['mode'] != "carp") continue;
$ipaddress = $carp['subnet'];
@@ -137,7 +136,6 @@ include("head.inc");
if($carp_enabled == false) {
$icon = "<img {$align} src='/themes/".$g['theme']."/images/icons/icon_block.gif'>";
$status = "DISABLED";
- $carp_int = "carp" . $carpint;
} else {
if($status == "MASTER") {
$icon = "<img {$align} src='/themes/".$g['theme']."/images/icons/icon_pass.gif'>";
@@ -151,7 +149,6 @@ include("head.inc");
echo "<td class=\"listlr\"><center>" . $ipaddress . "&nbsp;</td>";
echo "<td class=\"listlr\"><center>{$icon}&nbsp;&nbsp;" . $status . "&nbsp;</td>";
echo "</tr>";
- $carpint++;
}
}
?>
OpenPOWER on IntegriCloud