tor
tor copied to clipboard
#32165: use args to count_usable_descriptors() correctly [0.4.2]
When starting up without cached microdescriptors, stop mistakenly printing out "The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services."
We were mixing up "present", i.e. listed in the descriptor, with "usable", i.e. able to be used by us right now. (Yes they are terrible names; we should fix that in a future commit.)
Fixes bug 32165; bugfix on 0.2.6.2-alpha.
Pull Request Test Coverage Report for Build 6775
- 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
- 3 unchanged lines in 1 file lost coverage.
- Overall coverage decreased (-0.003%) to 63.378%
Files with Coverage Reduction | New Missed Lines | % |
---|---|---|
src/feature/nodelist/nodelist.c | 3 | 71.76% |
<!-- | Total: | 3 |
Totals | |
---|---|
Change from base Build 6769: | -0.003% |
Covered Lines: | 48009 |
Relevant Lines: | 75750 |