Browse Source

Fix a copy-and-paste error from 6be994fa717cf73

Found by clang's scan-build too.  Bug not in any released Tor.
Nick Mathewson 6 years ago
parent
commit
d67d3dd145
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/config.c

+ 1 - 1
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);