Browse Source

only run firewall heuristic if are actually firewalled

session-estimator
Mathias Buus 3 years ago
parent
commit
25ebf686fc
  1. 2
      index.js

2
index.js

@ -148,7 +148,7 @@ class DHT extends EventEmitter {
// TODO: some papers describe more advanced ways of bootstrapping - we should prob look into that // TODO: some papers describe more advanced ways of bootstrapping - we should prob look into that
let first = this._quickFirewall && !this._forcePersistent let first = this.firewalled && this._quickFirewall && !this._forcePersistent
let testNat = false let testNat = false
const onlyFirewall = !this._forcePersistent const onlyFirewall = !this._forcePersistent

Loading…
Cancel
Save