mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 14:45:52 -05:00
Merge pull request #936 from jsastriawan/master
Add existing CIRA connection exception from periodic AMT scanning.
This commit is contained in:
commit
02a7cd45ec
@ -166,7 +166,8 @@ module.exports.CreateAmtScanner = function (parent) {
|
|||||||
if (err == null && docs.length > 0) {
|
if (err == null && docs.length > 0) {
|
||||||
for (var i in docs) {
|
for (var i in docs) {
|
||||||
var doc = docs[i], host = doc.host.toLowerCase();
|
var doc = docs[i], host = doc.host.toLowerCase();
|
||||||
if ((host != '127.0.0.1') && (host != '::1') && (host.toLowerCase() != 'localhost')) {
|
var cira = obj.parent.mpsserver.ciraConnections[doc._id]
|
||||||
|
if ((host != '127.0.0.1') && (host != '::1') && (host.toLowerCase() != 'localhost') && (cira==null || cira==undefined)) {
|
||||||
var scaninfo = obj.scanTable[doc._id];
|
var scaninfo = obj.scanTable[doc._id];
|
||||||
if (scaninfo == undefined) {
|
if (scaninfo == undefined) {
|
||||||
var tag = obj.nextTag++;
|
var tag = obj.nextTag++;
|
||||||
|
Loading…
Reference in New Issue
Block a user