Use node counts in networks with all zero-bandwidths
commit14b0bba06e65a1dfca6a2f15f3016cb36409183f
authorteor <teor2345@gmail.com>
Wed, 8 Nov 2017 03:09:50 +0000 (8 14:09 +1100)
committerNick Mathewson <nickm@torproject.org>
Wed, 8 Nov 2017 15:45:18 +0000 (8 10:45 -0500)
treeaa50bdbff5f361e2828387988075f3d049390b91
parent3c03e237ab372f495fa2498e925813931ba381da
Use node counts in networks with all zero-bandwidths

When calculating the fraction of nodes that have descriptors, and all
all nodes in the network have zero bandwidths, count the number of nodes
instead.

Fixes bug 23318; bugfix on 0.2.4.10-alpha.
changes/bug23318
src/or/routerlist.c