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:
parent
63f852e1da
commit
888e8dedef
4 changed files with 120 additions and 30 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue