Revision 7238e0cf
Added by Ermal LUÇI over 11 years ago
usr/local/www/carp_status.php | ||
---|---|---|
75 | 75 |
interface_carp_configure($vip); |
76 | 76 |
sleep(1); |
77 | 77 |
break; |
78 |
case "ipalias": |
|
79 |
if (strstr($vip['interface'], "_vip")) |
|
80 |
interface_ipalias_configure($vip); |
|
81 |
break; |
|
82 | 78 |
} |
83 | 79 |
} |
84 | 80 |
} |
... | ... | |
152 | 148 |
$vhid = $carp['vhid']; |
153 | 149 |
$advskew = $carp['advskew']; |
154 | 150 |
$advbase = $carp['advbase']; |
155 |
$carp_int = "{$carp['interface']}_vip{$vhid}";
|
|
151 |
$carp_int = get_real_interface($carp['interface']);
|
|
156 | 152 |
$status = get_carp_interface_status($carp_int); |
157 | 153 |
echo "<tr>"; |
158 | 154 |
$align = "valign='middle'"; |
Also available in: Unified diff
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