diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-06-08 17:57:15 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-06-08 17:57:15 +0000 |
commit | 83bdca55920ca6ab3d848f0993d57a1f9b85098f (patch) | |
tree | 19bf46f0ddb0566af0bc8994ee9ba2df8e9deab4 /etc/inc/upgrade_config.inc | |
parent | ef0269508610f837212ec2d0ecd2435f126d61a9 (diff) | |
download | pfsense-83bdca55920ca6ab3d848f0993d57a1f9b85098f.zip pfsense-83bdca55920ca6ab3d848f0993d57a1f9b85098f.tar.gz |
Do not use tags for vlan interface names since there might be same vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 2e00622..48b94d5 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -772,7 +772,7 @@ function upgrade_044_to_045() { global $config; if (is_array($config['vlans']['vlan']) && count($config['vlans']['vlan'])) { foreach ($config['vlans']['vlan'] as $id => &$vlan) - $vlan['vlanif'] = "vlan{$vlan['tag']}"; + $vlan['vlanif'] = "vlan{$id}"; } } |