summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 9743776e28..04c6ad7d37 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1849,7 +1849,7 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs,
!tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs");
memset(rs, 0, sizeof(routerstatus_t));
- rs->is_authority = router_digest_is_trusted_dir(rs->identity_digest);
+ rs->is_authority = router_digest_is_trusted_dir(ri->identity_digest);
/* Already set by compute_performance_thresholds. */
rs->is_exit = ri->is_exit;