summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index aa9134b33b..dc91797101 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -433,6 +433,8 @@ int router_rebuild_descriptor(void) {
log_fn(LOG_WARN, "Couldn't dump router to string.");
return -1;
}
+ if (ri->dir_port)
+ ri->is_trusted_dir = 1;
return 0;
}