diff options
-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++; } } ?> |