mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-24 13:13:13 -05:00
Small fixes to AmtScanner.js
This commit is contained in:
parent
a3158d7914
commit
d1ddf2aa8f
@ -166,8 +166,8 @@ module.exports.CreateAmtScanner = function (parent) {
|
||||
if (err == null && docs.length > 0) {
|
||||
for (var i in docs) {
|
||||
var doc = docs[i], host = doc.host.toLowerCase();
|
||||
var cira = obj.parent.mpsserver.ciraConnections[doc._id]
|
||||
if ((host != '127.0.0.1') && (host != '::1') && (host.toLowerCase() != 'localhost') && (cira==null || cira==undefined)) {
|
||||
const ciraConnection = obj.parent.mpsserver.ciraConnections[doc._id];
|
||||
if ((host != '127.0.0.1') && (host != '::1') && (host.toLowerCase() != 'localhost') && (ciraConnection == null)) {
|
||||
var scaninfo = obj.scanTable[doc._id];
|
||||
if (scaninfo == undefined) {
|
||||
var tag = obj.nextTag++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user