Code refactor

This commit is contained in:
juanescarraga 2019-11-12 11:49:55 -05:00
parent a12fbc65b4
commit 1937eeb3ee

View File

@ -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) {