diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-10 16:52:55 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-10 16:52:55 +0000 |
commit | d424576bcb6b933f30137b85f50e3edc048b5784 (patch) | |
tree | 1354210f6c202bcd3f235dd49e508ba33953a46f /etc | |
parent | c61e56a723ac711877acb8e175766eccff5306d2 (diff) | |
download | pfsense-d424576bcb6b933f30137b85f50e3edc048b5784.zip pfsense-d424576bcb6b933f30137b85f50e3edc048b5784.tar.gz |
Use the full path to the vlan parameters seems that the foreach block creates a copy of the
original.
This should fix vlan upgrade issues reported.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 2a632d2..2914bae 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1220,7 +1220,7 @@ function convert_config() { if ($config['version'] <= 4.4) { if (is_array($config['vlans']['vlan']) && count($config['vlans']['vlan'])) { foreach ($config['vlans']['vlan'] as $id => $vlan) - $vlan['vlanif'] = "vlan{$id}"; + $config['vlans']['vlan'][$id]['vlanif'] = "vlan{$id}"; } $config['version'] = "4.5"; } |