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