Referenced the filtered array, not the first element, like a jackass.

This commit is contained in:
mmcw-dev 2018-01-04 16:14:12 -05:00
parent 980f1f56c5
commit df1c39604a
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ function getIp () {
}
})
if (ipv4.length === 1) {
addr = ipv4.address
addr = ipv4[0].address
}
}
return addr