mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-26 23:26:47 +01:00
Fetch interface details for br0 in bridged mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user