mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
interfaces.inc: remove unused code, related to https://github.com/opnsense/core/issues/4171
This commit is contained in:
parent
e2f6272957
commit
b2ee6fa99f
@ -201,18 +201,6 @@ function interface_vlan_configure(&$vlan)
|
||||
|
||||
interfaces_bring_up($if);
|
||||
|
||||
$members = array($if);
|
||||
|
||||
/* VLAN may be on top of another type of aggregation */
|
||||
if (isset($config['laggs']['lagg'])) {
|
||||
foreach ($config['laggs']['lagg'] as $lagg) {
|
||||
if ($if == $lagg['laggif']) {
|
||||
$members = explode(',', $lagg['members']);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($vlanif) && does_interface_exist($vlanif)) {
|
||||
legacy_interface_destroy($vlanif);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user