diff --git a/html/network.php b/html/network.php index 87cd1ad..7110770 100755 --- a/html/network.php +++ b/html/network.php @@ -103,92 +103,109 @@ foreach ($output as $line) { $interface_data[$current_interface]['status'] = 'up'; } } + +// Get selected interface from GET parameter or first interface +$selected_interface = $_GET['interface'] ?? array_keys($interface_data)[0] ?? null; ?>
IP Address:
-MAC Address:
-IP Address:
+MAC Address:
+