mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed Win7 crash, Local AMT scanner
This commit is contained in:
parent
d8a955629b
commit
6d8a93ad5a
7 changed files with 3 additions and 4 deletions
|
@ -110,8 +110,7 @@ module.exports.CreateAmtScanner = function (parent) {
|
|||
|
||||
// Look for all AMT computers that may be locally reachable and poll their presence
|
||||
obj.performScan = function () {
|
||||
//console.log('performScan');
|
||||
if (obj.action == false) { return false; }
|
||||
if (obj.active == false) { return false; }
|
||||
obj.parent.db.getLocalAmtNodes(10, function (err, docs) { // TODO: handler more than 10 computer scan at the same time. DNS resolved may need to be a seperate module.
|
||||
for (var i in obj.scanTable) { obj.scanTable[i].present = false; }
|
||||
if (err == null && docs.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue