net: fix hosts.toArray (again).

This commit is contained in:
Christopher Jeffrey 2016-12-21 16:04:48 -08:00
parent 8ce823e31c
commit c10f689435
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2785,7 +2785,7 @@ HostList.prototype.toArray = function toArray() {
for (i = 0; i < keys.length; i++) {
key = keys[i];
entry = this.map[key];
out.push(entry);
out.push(entry.addr);
}
assert.equal(out.length, this.size());