diff --git a/lib/network.js b/lib/network.js index e94f29e..400efdc 100644 --- a/lib/network.js +++ b/lib/network.js @@ -373,7 +373,7 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) { return i8021x; } - if (i8021xState.includes(':') && i8021xState.includes(':')) { + if (i8021xState.includes(':') && i8021xProtocol.includes(':')) { console.log('ETAPA ERROR 4'); i8021x.state = i8021xState.split(':').pop(); console.log('ETAPA ERROR 5');