diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-06-02 20:15:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-06-02 20:15:35 +0000 |
commit | 66881d570961dd6b7b283f56a38fdf6a0631ce68 (patch) | |
tree | a36255a2f125f02fe6461a201361d88705947a57 /src | |
parent | 5ba16c3b3eaefec658da05637b25cdb458286967 (diff) | |
download | tor-66881d570961dd6b7b283f56a38fdf6a0631ce68.tar.gz tor-66881d570961dd6b7b283f56a38fdf6a0631ce68.zip |
If we are a directory, we should trust ourself.
svn:r1943
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 2 |
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; } |