mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Fix name of internal wlan interface
This commit is contained in:
@@ -32,6 +32,9 @@ function getClients($simple=true) {
|
||||
if(empty($model) || preg_match("/^[0-9a-f]{4}$/",$model) === 1) {
|
||||
$model = preg_only_match("/ID_MODEL_FROM_DATABASE=(.*)$/",$udevinfo);
|
||||
}
|
||||
if(empty($model)) {
|
||||
$model = preg_only_match("/ID_OUI_FROM_DATABASE=(.*)$/",$udevinfo);
|
||||
}
|
||||
$vendor = preg_only_match("/ID_VENDOR_ENC=(.*)$/",$udevinfo);
|
||||
if(empty($vendor) || preg_match("/^[0-9a-f]{4}$/",$vendor) === 1) {
|
||||
$vendor = preg_only_match("/ID_VENDOR_FROM_DATABASE=(.*)$/",$udevinfo);
|
||||
|
||||
Reference in New Issue
Block a user