mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not use a monitor address from a load balancer pool as the monitor IP for a connection. This can lead to incorrect configurations. Some 1.2
configurations use load balancer pools as a subtitute for a gateway since that option was not available then.
This commit is contained in:
parent
d827f9ccaf
commit
318c1505e8
@ -1631,11 +1631,7 @@ function upgrade_053_to_054() {
|
||||
$static_name = "GW_" . strtoupper($interface);
|
||||
if(is_ipaddr($monitor)) {
|
||||
$interface = $static_name;
|
||||
if(is_array($gateways[$static_name]) && isset($gateways[$static_name]['attribute'])) {
|
||||
$a_gateways[$gateways[$static_name]['attribute']]['monitor'] = $monitor;
|
||||
} else {
|
||||
$config['interfaces'][$interface]['monitorip'] = $monitor;
|
||||
}
|
||||
$config['interfaces'][$interface]['monitorip'] = $monitor;
|
||||
}
|
||||
/* on failover increment tier. Else always assign 1 */
|
||||
if($lbpool['behaviour'] == "failover") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user