From af4eefa5fba048fbe8469aca93536e81ded73224 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sun, 26 May 2019 14:52:19 +0100 Subject: [PATCH] revert changes to WOL node, bump package to close #528 --- io/wol/39-wol.js | 4 ---- io/wol/package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/io/wol/39-wol.js b/io/wol/39-wol.js index 6598b367..0d6a9ca3 100644 --- a/io/wol/39-wol.js +++ b/io/wol/39-wol.js @@ -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 { diff --git a/io/wol/package.json b/io/wol/package.json index f2656daa..b6667226 100644 --- a/io/wol/package.json +++ b/io/wol/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-wol", - "version" : "0.0.10", + "version" : "0.0.12", "description" : "A Node-RED node to send Wake-On-LAN (WOL) magic packets", "dependencies" : { "wake_on_lan" : "1.0.0"