mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Handling of USB tethering (Android phone) improved
This commit is contained in:
@@ -154,6 +154,7 @@ function DisplayDashboard(&$extraFooterScripts)
|
||||
$ifaceStatus = $clientinfo["connected"]=="y" ? "up" : "down";
|
||||
switch($clientinfo["type"]) {
|
||||
case "eth":
|
||||
case "usb":
|
||||
$client_title = "Client: Ethernet cable";
|
||||
$type_name = "Ethernet";
|
||||
break;
|
||||
|
@@ -137,6 +137,8 @@ function getClients($simple=true) {
|
||||
$cl["device"][$i]["operator"] = $res[0];
|
||||
break;
|
||||
case "phone":
|
||||
case "usb":
|
||||
$cl["device"][$i]["connected"] = "y";
|
||||
break;
|
||||
default:
|
||||
}
|
||||
|
Reference in New Issue
Block a user