diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2017-08-04 17:16:38 -0400 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2017-12-07 00:04:33 +0000 |
commit | b5d4cd1b4178bfa285fc5c512a29daa2580d96b8 (patch) | |
tree | 343e3a9dd79f6c804aa2b789685ebd99715203ea /src/or/circuitbuild.h | |
parent | 23820a39439637f401b24085dfe7a703dee88c43 (diff) | |
download | tor-b5d4cd1b4178bfa285fc5c512a29daa2580d96b8.tar.gz tor-b5d4cd1b4178bfa285fc5c512a29daa2580d96b8.zip |
Bug #23100: Count all 3 hop circuits for CBT.
This change causes us to count anything once it reaches 3 hops (but not
after).
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index b8a651e055..3c28781bc4 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -27,7 +27,7 @@ int circuit_handle_first_hop(origin_circuit_t *circ); void circuit_n_chan_done(channel_t *chan, int status, int close_origin_circuits); int inform_testing_reachability(void); -int circuit_timeout_want_to_count_circ(origin_circuit_t *circ); +int circuit_timeout_want_to_count_circ(const origin_circuit_t *circ); int circuit_send_next_onion_skin(origin_circuit_t *circ); void circuit_note_clock_jumped(int seconds_elapsed); int circuit_extend(cell_t *cell, circuit_t *circ); |