Update network.js
This commit is contained in:
parent
3039668621
commit
3787fa49ec
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user