revert changes to WOL node, bump package

to close #528
This commit is contained in:
Dave Conway-Jones
2019-05-26 14:52:19 +01:00
parent 2dfa1385c3
commit af4eefa5fb
2 changed files with 1 additions and 5 deletions

View File

@@ -13,10 +13,6 @@ module.exports = function(RED) {
this.on("input", function(msg) {
var mac = this.mac || msg.mac || null;
var host = this.host || msg.host || '255.255.255.255';
var h = host.split('.');
h.pop();
h.push('255');
host = h.join('.');
if (mac != null) {
if (chk.test(mac)) {
try {