net: fix hosts.toArray (again).
This commit is contained in:
parent
8ce823e31c
commit
c10f689435
@ -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());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user