aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index e3899b75f..0a4006abe 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1301,7 +1301,8 @@ networkstatus_set_current_consensus(const char *consensus, int from_cache,
}
if (dirserver_mode(get_options()))
- dirserv_set_cached_networkstatus_v3(consensus, c->valid_after);
+ dirserv_set_cached_networkstatus_v3(consensus,
+ current_consensus->valid_after);
router_dir_info_changed();