[or-cvs] r12038: Call routers_update_all_from_networkstatus() from router_rel (tor/trunk/src/or)

weasel at seul.org weasel at seul.org
Fri Oct 19 00:29:16 UTC 2007


Author: weasel
Date: 2007-10-18 20:29:16 -0400 (Thu, 18 Oct 2007)
New Revision: 12038

Modified:
   tor/trunk/src/or/networkstatus.c
Log:
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

Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c	2007-10-18 23:18:28 UTC (rev 12037)
+++ tor/trunk/src/or/networkstatus.c	2007-10-19 00:29:16 UTC (rev 12038)
@@ -177,6 +177,7 @@
     tor_free(s);
   }
   tor_free(filename);
+  routers_update_all_from_networkstatus(time(NULL));
 
   return 0;
 }



More information about the tor-commits mailing list