Skip to content

Commit

Permalink
Update apfserver node search to fix authentication issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jsastriawan committed Nov 26, 2019
1 parent 65d20c3 commit c515d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apfserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ module.exports.CreateApfServer = function (parent, db, args) {
});
} else if (mesh.mtype == 2) { // If this is a agent mesh, search the mesh for this device UUID
// Intel AMT GUID (socket.tag.SystemId) will be used to search the node
obj.db.getAmtUuidNode(mesh._id, socket.tag.SystemId, function (err, nodes) { // TODO: May need to optimize this request with indexes
obj.db.getAmtUuidNode(socket.tag.SystemId, function (err, nodes) { // TODO: May need to optimize this request with indexes
if ((nodes == null) || (nodes.length !== 1)) {
// New APF connection for unknown node, disconnect.
unknownNodeCount++;
Expand Down

0 comments on commit c515d3c

Please sign in to comment.