summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-05-17 21:15:24 -0400
committerRoger Dingledine <arma@torproject.org>2011-05-17 21:15:24 -0400
commit18f1b354ece34947e9a17b5cefb33cfbd73641e7 (patch)
tree0575329fad3216f17cdb73919bf2eedb0b5806bd /src/or/config.c
parent92081f3cdc2e91f7eb9954af2b647ab0bc65d047 (diff)
parent073fed06c458fac428b2377b4828412acb7d3802 (diff)
downloadtor-18f1b354ece34947e9a17b5cefb33cfbd73641e7.tar.gz
tor-18f1b354ece34947e9a17b5cefb33cfbd73641e7.zip
Merge branch 'maint-0.2.2'
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 87eb5d38ea..4fcbd625d3 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1296,6 +1296,9 @@ options_act(or_options_t *old_options)
int revise_trackexithosts = 0;
int revise_automap_entries = 0;
if ((options->UseEntryGuards && !old_options->UseEntryGuards) ||
+ options->UseBridges != old_options->UseBridges ||
+ (options->UseBridges &&
+ !config_lines_eq(options->Bridges, old_options->Bridges)) ||
!routerset_equal(old_options->ExcludeNodes,options->ExcludeNodes) ||
!routerset_equal(old_options->ExcludeExitNodes,
options->ExcludeExitNodes) ||
@@ -1303,8 +1306,9 @@ options_act(or_options_t *old_options)
!routerset_equal(old_options->ExitNodes, options->ExitNodes) ||
options->StrictNodes != old_options->StrictNodes) {
log_info(LD_CIRC,
- "Changed to using entry guards, or changed preferred or "
- "excluded node lists. Abandoning previous circuits.");
+ "Changed to using entry guards or bridges, or changed "
+ "preferred or excluded node lists. "
+ "Abandoning previous circuits.");
circuit_mark_all_unused_circs();
circuit_expire_all_dirty_circs();
revise_trackexithosts = 1;