diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-06-07 01:16:30 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-06-07 01:16:30 +0200 |
commit | 8c1b604d311170d7b42fe810fc39d5bc3afd967f (patch) | |
tree | 5e54ce1950fc0c4bf9eb8fe4d273ffb790c42b1d /etc/inc/upgrade_config.inc | |
parent | 0105ae3d0fa3b509f7ed08132670bcfd790a16f4 (diff) | |
download | pfsense-8c1b604d311170d7b42fe810fc39d5bc3afd967f.zip pfsense-8c1b604d311170d7b42fe810fc39d5bc3afd967f.tar.gz |
Actually use the counter
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 3 |
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; |