diff options
author | Ermal <eri@pfsense.org> | 2013-12-06 19:16:34 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-06 19:16:34 +0000 |
commit | 0c21eb70b6f830e2c1edc06597c2e0bd443ed855 (patch) | |
tree | 44ec1b7260627acf632391edb9814fb5eb5401f0 /usr/local/www/carp_status.php | |
parent | 86c135def224d010ac057f283b3a02f9699cb91a (diff) | |
download | pfsense-0c21eb70b6f830e2c1edc06597c2e0bd443ed855.zip pfsense-0c21eb70b6f830e2c1edc06597c2e0bd443ed855.tar.gz |
Use _vip as identified for CARP vip IPs to allow easier upgrade code. This way only ipaliases on carp need to be upgraded.
Diffstat (limited to 'usr/local/www/carp_status.php')
-rwxr-xr-x | usr/local/www/carp_status.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php index 5129047..9967484 100755 --- a/usr/local/www/carp_status.php +++ b/usr/local/www/carp_status.php @@ -148,8 +148,7 @@ include("head.inc"); $vhid = $carp['vhid']; $advskew = $carp['advskew']; $advbase = $carp['advbase']; - $carp_int = get_real_interface($carp['interface']) . "@{$carp['vhid']}"; - $status = get_carp_interface_status($carp_int); + $status = get_carp_interface_status("{$carp['interface']}_vip{$carp['vhid']}"); echo "<tr>"; $align = "valign='middle'"; if($carp_enabled == false) { @@ -164,7 +163,7 @@ include("head.inc"); $icon = "<img {$align} src='/themes/".$g['theme']."/images/icons/icon_log.gif'>"; } } - echo "<td class=\"listlr\"><center>" . $carp_int . " </td>"; + echo "<td class=\"listlr\"><center>" . convert_friendly_interface_to_friendly_descr($carp['interface']) . "@{$vhid} </td>"; echo "<td class=\"listlr\"><center>" . $ipaddress . " </td>"; echo "<td class=\"listlr\"><center>{$icon} " . $status . " </td>"; echo "</tr>"; |