Skip to content

Commit

Permalink
Fix for amtScanner option, #3139
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed Sep 16, 2021
1 parent 7325e5a commit 02e8f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meshcentral.js
Expand Up @@ -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
Expand Down

0 comments on commit 02e8f74

Please sign in to comment.