summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-09-16 00:17:39 -0400
committerRoger Dingledine <arma@torproject.org>2010-09-16 00:17:39 -0400
commit0ac67bf3c3aff13adccafb6ded303cb9f186d188 (patch)
tree1a1646f5c252df9674a5df475a6748fd29f9bbe4 /src/or/connection_or.c
parent277295efc1689d6ce039fb474147ddf155fbf516 (diff)
downloadtor-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.c4
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);
}