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

Small server fixes.

This commit is contained in:
Ylian Saint-Hilaire 2019-03-17 19:34:52 -07:00
parent 0d8be5b6b3
commit ca43729470
16 changed files with 33 additions and 22 deletions

View file

@ -294,7 +294,7 @@ module.exports.CreateMpsServer = function (parent, db, args, certificates) {
obj.db.getAmtUuidNode(mesh._id, socket.tag.SystemId, function (err, nodes) { // TODO: May need to optimize this request with indexes
if (nodes.length == 0) {
// New CIRA connection for unknown node, disconnect.
console.log('CIRA connection for unknown node. groupid: ' + mesh._id + ', uuid: ' + systemid);
console.log('CIRA connection for unknown node. groupid: ' + mesh._id + ', uuid: ' + socket.tag.SystemId);
socket.end();
return;
}