Referenced the filtered array, not the first element, like a jackass.
This commit is contained in:
parent
980f1f56c5
commit
df1c39604a
|
@ -147,7 +147,7 @@ function getIp () {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (ipv4.length === 1) {
|
if (ipv4.length === 1) {
|
||||||
addr = ipv4.address
|
addr = ipv4[0].address
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return addr
|
return addr
|
||||||
|
|
Loading…
Reference in New Issue