diff options
Diffstat (limited to 'usr/local/www/carp_status.php')
-rwxr-xr-x | usr/local/www/carp_status.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php index 9749063..d01e746 100755 --- a/usr/local/www/carp_status.php +++ b/usr/local/www/carp_status.php @@ -75,10 +75,6 @@ if($_POST['disablecarp'] <> "") { interface_carp_configure($vip); sleep(1); break; - case "ipalias": - if (strstr($vip['interface'], "_vip")) - interface_ipalias_configure($vip); - break; } } } @@ -152,7 +148,7 @@ include("head.inc"); $vhid = $carp['vhid']; $advskew = $carp['advskew']; $advbase = $carp['advbase']; - $carp_int = "{$carp['interface']}_vip{$vhid}"; + $carp_int = get_real_interface($carp['interface']); $status = get_carp_interface_status($carp_int); echo "<tr>"; $align = "valign='middle'"; |