summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-06-07 01:16:30 +0200
committerSeth Mos <seth.mos@xs4all.nl>2009-06-07 01:16:30 +0200
commit8c1b604d311170d7b42fe810fc39d5bc3afd967f (patch)
tree5e54ce1950fc0c4bf9eb8fe4d273ffb790c42b1d /etc/inc
parent0105ae3d0fa3b509f7ed08132670bcfd790a16f4 (diff)
downloadpfsense-8c1b604d311170d7b42fe810fc39d5bc3afd967f.zip
pfsense-8c1b604d311170d7b42fe810fc39d5bc3afd967f.tar.gz
Actually use the counter
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/upgrade_config.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index f039f38..a987f18 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -607,7 +607,8 @@ function upgrade_037_to_038() {
$bridge['bridgeif'] = "bridge{$counter}";
/* done collecting info, have to burn those bridges */
$config['interfaces'][$name]['bridge'] = true;
- $a_bridges[] = $bridge;
+ $a_bridges[$counter] = $bridge;
+ $counter++;
}
}
$config['bridges'] = $a_bridges;
OpenPOWER on IntegriCloud