diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-04-13 13:29:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-04-13 13:29:30 -0400 |
commit | 96a0edf373b52da382206d12716ebd1cb96a1518 (patch) | |
tree | 88025a0bbdd0743277f43b88ab716aed6f83e095 /src/or/relay.c | |
parent | d888a8210fc33d9d0ad835c05a2bf8b7b6882830 (diff) | |
download | tor-96a0edf373b52da382206d12716ebd1cb96a1518.tar tor-96a0edf373b52da382206d12716ebd1cb96a1518.tar.gz |
Rename CircPriorityHalflifeMsec to CircuitPriorityHalflifeMsec
Everything that accepted the 'Circ' name handled it wrong, so even now
that we fixed the handling of the parameter, we wouldn't be able to
set it without making all the 0.2.2.7..0.2.2.10 relays act wonky.
This patch makes Tors accept the 'Circuit' name instead, so we can
turn on circuit priorities without confusing the versions that treated
the 'Circ' name as occasion to act weird.
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index c417cbedc..fab2d8896 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1865,9 +1865,9 @@ cell_ewma_set_scale_factor(or_options_t *options, networkstatus_t *consensus) source = "CircuitPriorityHalflife in configuration"; } else if (consensus && (halflife_ms = networkstatus_get_param( - consensus, "CircPriorityHalflifeMsec", -1)) >= 0) { + consensus, "CircuitPriorityHalflifeMsec", -1)) >= 0) { halflife = ((double)halflife_ms)/1000.0; - source = "CircPriorityHalflifeMsec in consensus"; + source = "CircuitPriorityHalflifeMsec in consensus"; } else { halflife = EWMA_DEFAULT_HALFLIFE; source = "Default value"; |