Update network.js

This commit is contained in:
juan.escarraga@tulpep.com 2019-11-14 11:36:36 -05:00
parent 3039668621
commit 3787fa49ec

View File

@ -356,8 +356,8 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) {
} }
} else if (connectionType == 'wireless'){ } else if (connectionType == 'wireless'){
try { try {
// const SSID = getWindowsWirelessIfaceSSID(iface); const SSID = getWindowsWirelessIfaceSSID(iface);
const SSID = '1'; // const SSID = '1';
if(SSID !== 'Unknown') { if(SSID !== 'Unknown') {
i8021xState = execSync(`netsh wlan show profiles "${SSID}" | findstr "802.1X"`, util.execOptsWin); i8021xState = execSync(`netsh wlan show profiles "${SSID}" | findstr "802.1X"`, util.execOptsWin);
i8021xProtocol = execSync(`netsh wlan show profiles "${SSID}" | findstr "EAP"`, util.execOptsWin); i8021xProtocol = execSync(`netsh wlan show profiles "${SSID}" | findstr "EAP"`, util.execOptsWin);