diff options
author | Roger Dingledine <arma@torproject.org> | 2010-09-16 00:17:39 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-09-16 00:17:39 -0400 |
commit | 0ac67bf3c3aff13adccafb6ded303cb9f186d188 (patch) | |
tree | 1a1646f5c252df9674a5df475a6748fd29f9bbe4 /src/or/connection_or.c | |
parent | 277295efc1689d6ce039fb474147ddf155fbf516 (diff) | |
download | tor-0ac67bf3c3aff13adccafb6ded303cb9f186d188.tar.gz tor-0ac67bf3c3aff13adccafb6ded303cb9f186d188.zip |
perconnbwrate and perconnbwburst consensus params
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 4d82da63e9..58e8ec7e7e 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -370,10 +370,10 @@ connection_or_update_token_buckets_helper(or_connection_t *conn, int reset, * bandwidth parameters in the consensus, but allow local config * options to override. */ rate = options->PerConnBWRate ? (int)options->PerConnBWRate : - (int)networkstatus_get_param(NULL, "bwconnrate", + (int)networkstatus_get_param(NULL, "perconnbwrate", (int)options->BandwidthRate); burst = options->PerConnBWBurst ? (int)options->PerConnBWBurst : - (int)networkstatus_get_param(NULL, "bwconnburst", + (int)networkstatus_get_param(NULL, "perconnbwburst", (int)options->BandwidthBurst); } |