Remove old way bridge knobs too on the config. Anything has to be done through the new bridging code.

This commit is contained in:
Ermal Luçi 2008-08-05 16:16:55 +00:00
parent 6235e68339
commit c669255503

View File

@ -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");