summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-06-08 22:35:06 +0000
committerErmal Luçi <eri@pfsense.org>2009-06-08 22:35:06 +0000
commit76b37651994aec9ade4a417574b476cd4616fadb (patch)
tree6658da72ff4fc893011dac542452cafef388c59e /etc/inc
parent305c847d674b40a3f11c53f377bb607d6c2fe133 (diff)
downloadpfsense-76b37651994aec9ade4a417574b476cd4616fadb.zip
pfsense-76b37651994aec9ade4a417574b476cd4616fadb.tar.gz
Change even the upgrade code to use new style vlan names.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/upgrade_config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 2e00622..c70c804 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['if']}.vlan{$vlan['tag']}";
}
}
OpenPOWER on IntegriCloud