Fix for amtScanner option, #3139

This commit is contained in:
Ylian Saint-Hilaire 2021-09-16 09:43:19 -07:00
parent 7325e5a7e7
commit 02e8f747b8

View File

@ -1569,8 +1569,8 @@ function CreateMeshCentralServer(config, args) {
// Setup the Intel AMT local network scanner
if (obj.args.wanonly != true) {
if (obj.args.amtscanner != true) { obj.amtScanner = require('./amtscanner.js').CreateAmtScanner(obj).start(); }
if (obj.args.meshscanner != true) { obj.meshScanner = require('./meshscanner.js').CreateMeshScanner(obj).start(); }
if (obj.args.amtscanner != false) { obj.amtScanner = require('./amtscanner.js').CreateAmtScanner(obj).start(); }
if (obj.args.meshscanner != false) { obj.meshScanner = require('./meshscanner.js').CreateMeshScanner(obj).start(); }
}
// Setup and start the MPS server