aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-17 19:39:50 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-17 19:39:50 -0400
commitd67d3dd1456edf20e79bd1ba105536bdcdbfc4dc (patch)
tree399d1b3213580221b288a6b556741c471166b1bc /src/or/config.c
parent31fbbf2377846535848553938f6be233f3092702 (diff)
downloadtor-d67d3dd1456edf20e79bd1ba105536bdcdbfc4dc.tar.gz
tor-d67d3dd1456edf20e79bd1ba105536bdcdbfc4dc.zip
Fix a copy-and-paste error from 6be994fa717cf73
Found by clang's scan-build too. Bug not in any released Tor.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 206274cd38..9c0b321b56 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2190,7 +2190,7 @@ options_act(const or_options_t *old_options)
if (options->BandwidthRate != old_options->BandwidthRate ||
options->BandwidthBurst != old_options->BandwidthBurst ||
- options->BandwidthRate != old_options->BandwidthRate ||
+ options->RelayBandwidthRate != old_options->RelayBandwidthRate ||
options->RelayBandwidthBurst != old_options->RelayBandwidthBurst)
connection_bucket_adjust(options);