From 9521418e2537df6e93b6cf6030c8e1d12d04b7fb Mon Sep 17 00:00:00 2001 From: Kyle Hensel Date: Wed, 2 Oct 2019 18:23:19 +1300 Subject: [PATCH 1/2] fix #22 --- lib/artnet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/artnet.js b/lib/artnet.js index 2ed09ef..35a3c97 100644 --- a/lib/artnet.js +++ b/lib/artnet.js @@ -23,7 +23,7 @@ var Artnet = function (config) { that.emit('error', err); }); - if (config.iface && (host === '255.255.255.255')) { + if (config.iface) { socket.bind(port, config.iface, function () { socket.setBroadcast(true); }); From 408d2fa3280a64025d3773ee60b7fd7d19d83032 Mon Sep 17 00:00:00 2001 From: Kyle Hensel Date: Wed, 2 Oct 2019 18:41:14 +1300 Subject: [PATCH 2/2] use exact package versions --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f54e705..3ea4248 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ }, "license": "MIT", "devDependencies": { - "camo-purge": "latest", - "xo": "latest" + "camo-purge": "1.0.2", + "xo": "0.17.0" }, "scripts": { "test": "camo-purge ; xo --space 4 --no-esnext --ignore test.js"