summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 37a36abac2..33f47684c6 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1479,6 +1479,8 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
if (!routerlist)
router_get_routerlist();
+ if (!networkstatus_list)
+ networkstatus_list = smartlist_create();
id_digest = router->cache_info.identity_digest;