pool: minor.

This commit is contained in:
Christopher Jeffrey 2016-12-22 22:27:09 -08:00
parent 5a0632f449
commit 6ea846ee9a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2535,7 +2535,7 @@ HostList.prototype.add = function add(addr, src) {
if (!src) if (!src)
src = this.address; src = this.address;
entry = new HostEntry(addr, src, this.network); entry = new HostEntry(addr, src);
this.totalFresh++; this.totalFresh++;
} }
@ -2983,7 +2983,7 @@ MapBucket.prototype.reset = function reset() {
* @param {NetAddress} addr * @param {NetAddress} addr
*/ */
function HostEntry(addr, src, network) { function HostEntry(addr, src) {
assert(addr instanceof NetAddress); assert(addr instanceof NetAddress);
assert(src instanceof NetAddress); assert(src instanceof NetAddress);