summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/carp_status.php2
-rw-r--r--usr/local/www/widgets/widgets/carp_status.widget.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index d01e746..5129047 100755
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -148,7 +148,7 @@ include("head.inc");
$vhid = $carp['vhid'];
$advskew = $carp['advskew'];
$advbase = $carp['advbase'];
- $carp_int = get_real_interface($carp['interface']);
+ $carp_int = get_real_interface($carp['interface']) . "@{$carp['vhid']}";
$status = get_carp_interface_status($carp_int);
echo "<tr>";
$align = "valign='middle'";
diff --git a/usr/local/www/widgets/widgets/carp_status.widget.php b/usr/local/www/widgets/widgets/carp_status.widget.php
index a7c55e8..e7cff99 100644
--- a/usr/local/www/widgets/widgets/carp_status.widget.php
+++ b/usr/local/www/widgets/widgets/carp_status.widget.php
@@ -49,7 +49,7 @@ $carp_enabled = get_carp_status();
$netmask = $carp['subnet_bits'];
$vhid = $carp['vhid'];
$advskew = $carp['advskew'];
- $carp_int = get_real_interface($carp['interface']);
+ $carp_int = get_real_interface($carp['interface']) . "@{$carp['vhid']}";
$status = get_carp_interface_status($carp_int);
?>
<tr>
OpenPOWER on IntegriCloud