1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Rebranding fixes

This commit is contained in:
Ylian Saint-Hilaire 2019-09-15 12:47:59 -07:00
parent b7280ff7ad
commit 60af11542f
3 changed files with 33 additions and 16 deletions

View file

@ -260,8 +260,13 @@
agentDesktop.ProcessData(data);
} else if (recFileProtocol == 101) {
// Intel AMT KVM
if ((readState == 0) && (rstr2hex(data) == '4100000000000000')) { readState = 1; } // We are not authenticated, KVM data starts here.
else if (readState == 1) { amtDesktop.ProcessData(data); }
if ((readState == 0) && (rstr2hex(data) == '4100000000000000')) {
// We are not authenticated, KVM data starts here.
readState = 1;
if (data.length > 8) { amtDesktop.ProcessData(data.substring(8)); }
} else if (readState == 1) {
amtDesktop.ProcessData(data);
}
}
} else if ((type == 2) && flagBinary && flagUser) {
// User --> Device data