aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-10-19 00:29:16 +0000
committerPeter Palfrader <peter@palfrader.org>2007-10-19 00:29:16 +0000
commit829801c476c942617588c5432ca2933ff7025178 (patch)
tree04a12d2fd8a3d3f6b1f866120eeb72e58de571a9
parent85e746d06052e397620b0c33175e077d1adcd759 (diff)
downloadtor-829801c476c942617588c5432ca2933ff7025178.tar
tor-829801c476c942617588c5432ca2933ff7025178.tar.gz
Call routers_update_all_from_networkstatus() from router_reload_consensus_networkstatus() so that we warn about old versions when we startup Tor, not when we fetch the next consensus document
svn:r12038
-rw-r--r--src/or/networkstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 8135ed5e1..83029627e 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -177,6 +177,7 @@ router_reload_consensus_networkstatus(void)
tor_free(s);
}
tor_free(filename);
+ routers_update_all_from_networkstatus(time(NULL));
return 0;
}