networkInterfaces() fixed getWindowsIEEE8021x issue (windows)

This commit is contained in:
Sebastian Hildebrandt
2026-01-31 16:20:05 +01:00
parent ea020217e1
commit f4ff1d9faa
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) {
i8021x.state = i8021xState.split(':').pop();
i8021x.protocol = i8021xProtocol.split(':').pop();
}
} catch {
} catch (error) {
if (error.status === 1 && error.stdout.includes('AutoConfig')) {
i8021x.state = 'Disabled';
i8021x.protocol = 'Not defined';