update errors on systeminformation
This commit is contained in:
parent
3039668621
commit
94efdd4168
@ -719,12 +719,13 @@ function networkInterfaces(callback) {
|
||||
type = detail.type;
|
||||
}
|
||||
});
|
||||
|
||||
if (dev.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wireless') >= 0 || ifaceName.toLowerCase().indexOf('wi-fi') >= 0) {
|
||||
type = 'wireless';
|
||||
}
|
||||
const IEEE8021x = getWindowsIEEE8021x(type, dev, nics8021xInfo);
|
||||
auth8021x = IEEE8021x.protocol;
|
||||
state8021x = IEEE8021x.state;
|
||||
if (dev.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wireless') >= 0) {
|
||||
type = 'wireless';
|
||||
}
|
||||
}
|
||||
let internal = (ifaces[dev] && ifaces[dev][0]) ? ifaces[dev][0].internal : null;
|
||||
const virtual = internal ? false : testVirtualNic(dev, ifaceName, mac);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user