pool: minor.
This commit is contained in:
parent
5a0632f449
commit
6ea846ee9a
@ -2535,7 +2535,7 @@ HostList.prototype.add = function add(addr, src) {
|
||||
if (!src)
|
||||
src = this.address;
|
||||
|
||||
entry = new HostEntry(addr, src, this.network);
|
||||
entry = new HostEntry(addr, src);
|
||||
|
||||
this.totalFresh++;
|
||||
}
|
||||
@ -2983,7 +2983,7 @@ MapBucket.prototype.reset = function reset() {
|
||||
* @param {NetAddress} addr
|
||||
*/
|
||||
|
||||
function HostEntry(addr, src, network) {
|
||||
function HostEntry(addr, src) {
|
||||
assert(addr instanceof NetAddress);
|
||||
assert(src instanceof NetAddress);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user