diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2012-05-23 15:07:05 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2012-05-23 15:11:45 -0600 |
commit | 1276637450a1f80414733db5fcb5f492f019511c (patch) | |
tree | 3d545481588c623b3d3a0afed979a8c7bfad8e1a /etc/inc/upgrade_config.inc | |
parent | d39a2fc628dfdb0b4cf8a0a3973628fc7047d5ab (diff) | |
download | pfsense-1276637450a1f80414733db5fcb5f492f019511c.zip pfsense-1276637450a1f80414733db5fcb5f492f019511c.tar.gz |
Fix name of the config section for virtual IPs in upgrade code. Ticket #2445
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 2310e71..5655ee0 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -2794,9 +2794,9 @@ function upgrade_085_to_086() { /* XXX: Gross hacks in sight */ write_config(); - if (is_array($config['virtualips']['vip'])) { + if (is_array($config['virtualip']['vip'])) { $vipchg = array(); - foreach ($config['virtualips']['vip'] as $vip) { + foreach ($config['virtualip']['vip'] as $vip) { if ($vip['mode'] != "carp") continue; file_put_contents("{$g['tmp_path']}/vipreplace", "s/\\([^_]\\)vip{$vip['vhid']}\\([^0-9]\\)/\\1{$vip['interface']}_vip{$vip['vhid']}\\2/g\n"); |