mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixes a regression in my previous commit.
IP aliases can be used with CARP vhids too. Reported by: PiBa Ticket: #8393
This commit is contained in:
parent
49c1dfc03c
commit
b0ad46aa32
@ -2562,8 +2562,9 @@ function interface_ipalias_configure(&$vip) {
|
||||
|
||||
$realif = get_real_interface("_vip{$vip['uniqid']}");
|
||||
if ($realif != "lo0") {
|
||||
if (!isset($config['interfaces'][$vip['interface']]) ||
|
||||
!isset($config['interfaces'][$vip['interface']]['enable'])) {
|
||||
$if = convert_real_interface_to_friendly_interface_name($realif);
|
||||
if (!isset($config['interfaces'][$if]) ||
|
||||
!isset($config['interfaces'][$if]['enable'])) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user