summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-02-16 06:18:03 +0000
committerRoger Dingledine <arma@torproject.org>2009-02-16 06:18:03 +0000
commit9ded433abba2d1f59cbec8c5194a450851653dd2 (patch)
treeaad840caca835086e109d17a39811506507118f0 /src/or/networkstatus.c
parent323b33386fdec2f4de75bc1e040d09fb9abb4bb7 (diff)
downloadtor-9ded433abba2d1f59cbec8c5194a450851653dd2.tar.gz
tor-9ded433abba2d1f59cbec8c5194a450851653dd2.zip
new controller event NEWCONSENSUS that lists the networkstatus
lines for every recommended relay. still needs docdoc and changelog entry. svn:r18556
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 306ecb4278..81b1d07115 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1317,6 +1317,9 @@ notify_control_networkstatus_changed(const networkstatus_t *old_c,
smartlist_t *changed;
if (old_c == new_c)
return;
+
+ control_event_newconsensus(new_c);
+
if (!old_c) {
control_event_networkstatus_changed(new_c->routerstatus_list);
return;