If we change our MaxAdvertisedBandwidth and then reload torrc,

Tor won't realize it should publish a new relay descriptor. Fixes
bug 688, reported by mfr.


svn:r15129
This commit is contained in:
Roger Dingledine 2008-06-11 11:09:55 +00:00
parent 2f200e5f38
commit 1fde6994d5
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,9 @@ Changes in version 0.2.0.28-rc - 2008-06-??
for every single country code in the geoip db.
- Only warn when we fail to load the geoip file if we were planning to
include geoip stats in our extrainfo document.
- If we change our MaxAdvertisedBandwidth and then reload torrc,
Tor won't realize it should publish a new relay descriptor. Fixes
bug 688, reported by mfr.
- Fix unit tests in 0.2.0.27-rc.
- Fix compile on Windows.

View File

@ -3447,6 +3447,8 @@ options_transition_affects_descriptor(or_options_t *old_options,
new_options->_PublishServerDescriptor ||
old_options->BandwidthRate != new_options->BandwidthRate ||
old_options->BandwidthBurst != new_options->BandwidthBurst ||
old_options->MaxAdvertisedBandwidth !=
new_options->MaxAdvertisedBandwidth ||
!opt_streq(old_options->ContactInfo, new_options->ContactInfo) ||
!opt_streq(old_options->MyFamily, new_options->MyFamily) ||
!opt_streq(old_options->AccountingStart, new_options->AccountingStart) ||