diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-08-05 16:16:55 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-08-05 16:16:55 +0000 |
commit | c669255503af047b645f71f8aa37bc6dc133fefb (patch) | |
tree | a5d1f6af19dc59aadf7062bc964e44caa3e6cd99 | |
parent | 6235e683397a986392331ed86c855d8ff9d828cc (diff) | |
download | pfsense-c669255503af047b645f71f8aa37bc6dc133fefb.zip pfsense-c669255503af047b645f71f8aa37bc6dc133fefb.tar.gz |
Remove old way bridge knobs too on the config. Anything has to be done through the new bridging code.
-rw-r--r-- | etc/inc/config.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index f2c64d6..59041ca 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1666,6 +1666,12 @@ function convert_config() { $pconfig['value'] = "0"; $config['sysctl']['item'][] = $pconfig; + unset($config['bridge']); + + foreach ($config['interfaces'] as &$intf) { + if (isset($intf['bridge'])) + unset($intf['bridge']); + } } $now = date("H:i:s"); |