From: Nick Mathewson Date: Wed, 2 Jun 2004 20:15:35 +0000 (+0000) Subject: If we are a directory, we should trust ourself. X-Git-Tag: tor-0.0.7rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66881d570961dd6b7b283f56a38fdf6a0631ce68;p=thirdparty%2Ftor.git If we are a directory, we should trust ourself. svn:r1943 --- 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; }