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

Added server AgentPing/AgentPong settings.

This commit is contained in:
Ylian Saint-Hilaire 2019-05-28 10:58:46 -07:00
parent 827a3676f7
commit 395978ac36
7 changed files with 22 additions and 4 deletions

View file

@ -623,6 +623,8 @@ function createMeshCore(agent) {
sendConsoleText('getScript: ' + JSON.stringify(data));
break;
}
case 'ping': { mesh.SendCommand('{"action":"pong"}'); break; }
case 'pong': { break; }
default:
// Unknown action, ignore it.
break;