summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/config.inc2
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";
}
OpenPOWER on IntegriCloud