diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 2aa2dc1195..8f0f329845 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -711,7 +711,7 @@ run_scheduled_events(time_t now) } if (time_to_fetch_running_routers < now) { - if (!authdir_mode(options)) { + if (!authdir_mode(options) || !options->V1AuthoritativeDir) { directory_get_from_dirserver(DIR_PURPOSE_FETCH_RUNNING_LIST, NULL, 1); } time_to_fetch_running_routers = now + get_status_fetch_period(options); @@ -972,6 +972,9 @@ do_main_loop(void) if (router_reload_router_list()) { return -1; } + if (router_reload_networkstatus()) { + return -1; + } if (authdir_mode(get_options())) { /* the directory is already here, run startup things */ |