From 1fde6994d5f6f24975dc7d6b4d3e4c2ce7a25631 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 11 Jun 2008 11:09:55 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ src/or/config.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index bc8fbd2de..d4a3b342a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/src/or/config.c b/src/or/config.c index 51644f8ea..12a40af84 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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) ||