From df1c39604a7a7ca25e2057db95be267268d8df22 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Thu, 4 Jan 2018 16:14:12 -0500 Subject: [PATCH] Referenced the filtered array, not the first element, like a jackass. --- lib/ble/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ble/index.js b/lib/ble/index.js index cce3991..2332fd8 100644 --- a/lib/ble/index.js +++ b/lib/ble/index.js @@ -147,7 +147,7 @@ function getIp () { } }) if (ipv4.length === 1) { - addr = ipv4.address + addr = ipv4[0].address } } return addr