diff options
author | smos <seth.mos@dds.nl> | 2010-07-30 12:58:54 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2010-07-30 12:58:54 +0200 |
commit | 318c1505e82372004bbe849298655201e70dff41 (patch) | |
tree | 7f41ee3ad432886a60704d68d984657ea0442b68 /etc/inc | |
parent | d827f9ccaf568ddbc10b0338011e0906cf192e16 (diff) | |
download | pfsense-318c1505e82372004bbe849298655201e70dff41.zip pfsense-318c1505e82372004bbe849298655201e70dff41.tar.gz |
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.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index ff05542..3466719 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -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") { |