diff --git a/meshscanner.js b/meshscanner.js index 9f98743a..cc182ee2 100644 --- a/meshscanner.js +++ b/meshscanner.js @@ -231,7 +231,7 @@ module.exports.CreateMeshScanner = function (parent) { obj.wakeOnLan = function (macs) { var i, j; for (i in macs) { - var mac = macs[i]; + var mac = macs[i].split(':').join(''); var hexpacket = 'FFFFFFFFFFFF'; for (j = 0; j < 16; j++) { hexpacket += mac; } var wakepacket = Buffer.from(hexpacket, 'hex'); diff --git a/translate/translate.json b/translate/translate.json index fd49faa9..7d8c7db8 100644 --- a/translate/translate.json +++ b/translate/translate.json @@ -32802,4 +32802,4 @@ ] } ] -} +} \ No newline at end of file