diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-13 20:30:51 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-13 20:30:51 -0500 |
commit | 963e70673a01f0cdea1e5533b02128a84dfaa0d8 (patch) | |
tree | 4a8f868ae020acac1437fc4d797ad3fe324d00a6 /src | |
parent | 387de08fb43a7f2ffd8a45a5452f950a99ed56b1 (diff) | |
parent | e2537a5982b9003b14daee768cae33561f5f04bd (diff) | |
download | tor-963e70673a01f0cdea1e5533b02128a84dfaa0d8.tar.gz tor-963e70673a01f0cdea1e5533b02128a84dfaa0d8.zip |
Merge remote-tracking branch 'teor/fix-frac-paths-comment'
Diffstat (limited to 'src')
-rw-r--r-- | src/or/nodelist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index 3f2e111077..2bcedbfb0c 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -1728,9 +1728,9 @@ count_usable_descriptors(int *num_present, int *num_usable, * If **<b>status_out</b> is present, allocate a new string and print the * available percentages of guard, middle, and exit nodes to it, noting * whether there are exits in the consensus. - * If there are no guards in the consensus, - * we treat the exit fraction as 100%. - */ + * If there are no exits in the consensus, we treat the exit fraction as 100%, + * but set router_have_consensus_path() so that we can only build internal + * paths. */ static double compute_frac_paths_available(const networkstatus_t *consensus, const or_options_t *options, time_t now, |