mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
interfaces.lib.inc add groups to legacy_interfaces_details() for https://github.com/opnsense/plugins/issues/807
This commit is contained in:
parent
b10aaddbe0
commit
2fbed01d7c
@ -310,6 +310,9 @@ function legacy_interfaces_details($intf = null)
|
||||
$result[$current_interface]['laggport'] = array();
|
||||
}
|
||||
$result[$current_interface]['laggport'][] = explode(' ', trim($matches[1]))[0];
|
||||
} elseif (strpos($line, "\tgroups: ") !== false) {
|
||||
array_shift($line_parts);
|
||||
$result[$current_interface]['groups'] = $line_parts;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user