summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-11-28 18:36:03 +0000
committerErmal <eri@pfsense.org>2013-11-28 18:36:18 +0000
commit7238e0cfc840d175e5b0dd650730fc21b6a9b368 (patch)
tree7a3b20dd35ddf6019eb61f612d10711de12c03e4 /usr/local/www/carp_status.php
parentd11134243489f7cea17cdc4c04a0624b0c16ed18 (diff)
downloadpfsense-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-xusr/local/www/carp_status.php6
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'";
OpenPOWER on IntegriCloud