Code refactor
This commit is contained in:
parent
a12fbc65b4
commit
1937eeb3ee
@ -665,9 +665,7 @@ function networkInterfaces(callback) {
|
|||||||
type = detail.type;
|
type = detail.type;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log('type', type);
|
|
||||||
const IEEE8021x = getWindowsIEEE8021x(type);
|
const IEEE8021x = getWindowsIEEE8021x(type);
|
||||||
console.log('result', IEEE8021x);
|
|
||||||
auth8021x = IEEE8021x.protocol;
|
auth8021x = IEEE8021x.protocol;
|
||||||
state8021x = IEEE8021x.state;
|
state8021x = IEEE8021x.state;
|
||||||
if (dev.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wireless') >= 0) {
|
if (dev.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wlan') >= 0 || ifaceName.toLowerCase().indexOf('wireless') >= 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user