diff options
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/carp_status.widget.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/widgets/widgets/carp_status.widget.php b/usr/local/www/widgets/widgets/carp_status.widget.php index e7cff99..3b52fd8 100644 --- a/usr/local/www/widgets/widgets/carp_status.widget.php +++ b/usr/local/www/widgets/widgets/carp_status.widget.php @@ -49,14 +49,13 @@ $carp_enabled = get_carp_status(); $netmask = $carp['subnet_bits']; $vhid = $carp['vhid']; $advskew = $carp['advskew']; - $carp_int = get_real_interface($carp['interface']) . "@{$carp['vhid']}"; - $status = get_carp_interface_status($carp_int); + $status = get_carp_interface_status("{$carp['interface']}_vip{$vhid}"); ?> <tr> <td class="vncellt" width="35%"> <img src="./themes/<?= $g['theme']; ?>/images/icons/icon_cablenic.gif" alt="cablenic" /> <strong><a href="/system_hasync.php"> - <span style="color:#000000"><?=htmlspecialchars($carp_int);?></span></a></strong> + <span style="color:#000000"><?=htmlspecialchars(convert_friendly_interface_to_friendly_descr($carp['interface']) . "@{$vhid}");?></span></a></strong> </td> <td width="65%" class="listr"> <?php |