mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
firewall: live log - sort interfaces in log_filters endpoint. closes https://github.com/opnsense/core/pull/4402
This commit is contained in:
parent
bbeb2e71fa
commit
2c3c8e7a02
@ -77,7 +77,7 @@ class FirewallController extends ApiControllerBase
|
||||
$interfaces[] = !empty((string)$node->descr) ? (string)$node->descr : $key;
|
||||
}
|
||||
}
|
||||
|
||||
sort($interfaces, SORT_NATURAL|SORT_FLAG_CASE);
|
||||
return [
|
||||
"interface_name" => $interfaces,
|
||||
"dir" => ["in", "out"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user