diff options
author | jim-p <jimp@pfsense.org> | 2010-06-10 14:34:21 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-10 14:34:21 -0400 |
commit | 2a63a07f3e25d25e8d6e33b554ce08ba5056bad2 (patch) | |
tree | 543b76d7151303f407fb1414a426804b39af2f1c /usr | |
parent | 1ce96d36eec8c11b7f99146d5a81be11bdf5be4d (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/carp_status.php | 3 |
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 . " </td>"; echo "<td class=\"listlr\"><center>{$icon} " . $status . " </td>"; echo "</tr>"; - $carpint++; } } ?> |