From 66881d570961dd6b7b283f56a38fdf6a0631ce68 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 2 Jun 2004 20:15:35 +0000 Subject: [PATCH] If we are a directory, we should trust ourself. svn:r1943 --- src/or/router.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.11.4.GIT