aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2008-09-11 20:06:04 +0000
committerKarsten Loesing <karsten.loesing@gmx.net>2008-09-11 20:06:04 +0000
commitf0a5ef804f4ce09fb8daa79aa23a57ccf65296e4 (patch)
tree58f3fc243b864bc2ef7ad43ad17405914844d433 /src/or/routerlist.c
parent535e2074bc0929071f9063ac723feb90131dc4ce (diff)
downloadtor-f0a5ef804f4ce09fb8daa79aa23a57ccf65296e4.tar
tor-f0a5ef804f4ce09fb8daa79aa23a57ccf65296e4.tar.gz
Directory mirrors store and serve v2 hidden service descriptors by default.
svn:r16858
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 0e4df84aa..32595b808 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4936,7 +4936,7 @@ hid_serv_acting_as_directory(void)
routerstatus_t *rs;
if (!me)
return 0;
- if (!get_options()->HidServDirectoryV2) {
+ if (!get_options()->DirPort || !get_options()->HidServDirectoryV2) {
log_info(LD_REND, "We are not acting as hidden service directory, "
"because we have not been configured as such.");
return 0;