From 7a4f7b6ff8d01578f8f9ec1f0ee78eff85e17b82 Mon Sep 17 00:00:00 2001 From: ricardopolo Date: Wed, 20 Nov 2019 08:48:11 -0500 Subject: [PATCH] New version --- lib/network.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/network.js b/lib/network.js index 0abd27e..94f843f 100644 --- a/lib/network.js +++ b/lib/network.js @@ -346,7 +346,7 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) { if(state8021x.includes('Disabled')){ i8021x.state = "Disabled"; i8021x.protocol = "Not defined"; - + } else if (state8021x.includes('Enabled')) { const protocol8021x = arrayIface8021xInfo.find((element) => { return element.includes('EAP'); @@ -365,6 +365,8 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) { let i8021xState = ''; let i8021xProtocol = ''; + + try { const SSID = getWindowsWirelessIfaceSSID(iface); if(SSID !== 'Unknown') {