summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/carp_status.php')
-rw-r--r--usr/local/www/carp_status.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index cbccbc6..db55c3b 100644
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -162,12 +162,8 @@ include("head.inc");
if ($carp['mode'] != "carp")
continue;
$ipaddress = $carp['subnet'];
- $password = $carp['password'];
- $netmask = $carp['subnet_bits'];
$vhid = $carp['vhid'];
- $advskew = $carp['advskew'];
- $advbase = $carp['advbase'];
- $status = get_carp_interface_status("{$carp['interface']}_vip{$carp['vhid']}");
+ $status = get_carp_interface_status("_vhid{$carp['uniqid']}");
echo "<tr>";
$align = "style=\"vertical-align:middle\"";
if($carp_enabled == false) {
OpenPOWER on IntegriCloud