diff options
author | Ermal <eri@pfsense.org> | 2013-11-28 18:36:03 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-11-28 18:36:18 +0000 |
commit | 7238e0cfc840d175e5b0dd650730fc21b6a9b368 (patch) | |
tree | 7a3b20dd35ddf6019eb61f612d10711de12c03e4 /usr/local/www/carp_status.php | |
parent | d11134243489f7cea17cdc4c04a0624b0c16ed18 (diff) | |
download | pfsense-7238e0cfc840d175e5b0dd650730fc21b6a9b368.zip pfsense-7238e0cfc840d175e5b0dd650730fc21b6a9b368.tar.gz |
Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code
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'"; |