]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a copy-and-paste error from 6be994fa717cf73
authorNick Mathewson <nickm@torproject.org>
Tue, 17 Apr 2018 23:39:50 +0000 (19:39 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 Apr 2018 23:39:50 +0000 (19:39 -0400)
Found by clang's scan-build too.  Bug not in any released Tor.

src/or/config.c

index 206274cd380b261c1f002a58d25c3e978f2037d2..9c0b321b56e88edd1dc3de4dffbf96b6f7a88947 100644 (file)
@@ -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);