diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-12-18 21:37:15 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-12-18 21:37:15 +0100 |
commit | acae946b0d56cfc8ca29a88b08a691e584fde302 (patch) | |
tree | b22f906e28839474e89236fc3e02f43fdb89d859 /etc/inc/upgrade_config.inc | |
parent | 035a5e013f87478d4c4bbabbe04930e265da52ca (diff) | |
download | pfsense-acae946b0d56cfc8ca29a88b08a691e584fde302.zip pfsense-acae946b0d56cfc8ca29a88b08a691e584fde302.tar.gz |
Make sure that the upgraded load balancer configuration reflects the new gateway names
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 694f0a3..4c6ad24 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -1547,6 +1547,8 @@ function upgrade_053_to_054() { foreach($lbpool['servers'] as $member) { $split = split("\|", $member); $interface = $split[0]; + /* on a upgraded configuration we automatically append _GW */ + $interface = strtoupper($interface) . "_GW"; $monitor = $split[1]; /* on failover increment tier. Else always assign 1 */ if($lbpool['behaviour'] == "failover") { |