From 3787fa49ecf34721a8b5b34625b8ec2bc7ab88a0 Mon Sep 17 00:00:00 2001 From: "juan.escarraga@tulpep.com" Date: Thu, 14 Nov 2019 11:36:36 -0500 Subject: [PATCH] Update network.js --- lib/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/network.js b/lib/network.js index 70874fa..09d278e 100644 --- a/lib/network.js +++ b/lib/network.js @@ -356,8 +356,8 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) { } } else if (connectionType == 'wireless'){ try { - // const SSID = getWindowsWirelessIfaceSSID(iface); - const SSID = '1'; + const SSID = getWindowsWirelessIfaceSSID(iface); + // const SSID = '1'; if(SSID !== 'Unknown') { i8021xState = execSync(`netsh wlan show profiles "${SSID}" | findstr "802.1X"`, util.execOptsWin); i8021xProtocol = execSync(`netsh wlan show profiles "${SSID}" | findstr "EAP"`, util.execOptsWin);