Fetch interface details for br0 in bridged mode

This commit is contained in:
billz
2025-10-26 09:24:55 +01:00
parent 07612999fa
commit 6ba5b9e7fd

View File

@@ -44,6 +44,12 @@ function DisplayDashboard(&$extraFooterScripts): void
$plugins = $pluginManager->getInstalledPlugins();
$bridgedEnable = getBridgedState();
if ($bridgedEnable) {
$interface = 'br0';
$details = $dashboard->getInterfaceDetails($interface);
$connectionType = 'ethernet';
}
// handle page actions
if (!empty($_POST)) {
$status = $dashboard->handlePageAction($state, $_POST, $status, $interface);