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

Added public IP location information to the mesh agent

This commit is contained in:
Ylian Saint-Hilaire 2017-08-28 12:48:53 -07:00
parent 63f852e1da
commit 888e8dedef
4 changed files with 120 additions and 30 deletions

View file

@ -388,6 +388,12 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
// Event the node interface information change
obj.parent.parent.DispatchEvent(['*', obj.meshid], obj, { action: 'ifchange', nodeid: obj.dbNodeKey, domain: domain.id, nolog: 1 });
break;
}
case 'location':
{
// Sent by the agent to update location information
console.log(JSON.stringify(command));
break;
}
}