summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index e2f3d9281b..28d0010ff7 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -203,6 +203,13 @@ router_reload_consensus_networkstatus(void)
}
}
+ if (!current_consensus) {
+ if (!named_server_map)
+ named_server_map = strmap_new();
+ if (!unnamed_server_map)
+ unnamed_server_map = strmap_new();
+ }
+
routers_update_all_from_networkstatus(time(NULL), 3);
return 0;