aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-11-17 07:39:15 -0500
committerRoger Dingledine <arma@torproject.org>2009-11-17 07:39:15 -0500
commit2ebd22152eeb5a9dcfc1a8c508ebd57a836290e1 (patch)
tree1d4f159cf5ba01ef59a91a14ea2c4556c9647d6e /src/or
parent2bcb90a308859126489bf63e3d2598901fcefcfc (diff)
downloadtor-2ebd22152eeb5a9dcfc1a8c508ebd57a836290e1.tar
tor-2ebd22152eeb5a9dcfc1a8c508ebd57a836290e1.tar.gz
only complain when rejecting a descriptor if it has contact info
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index d9a5decd6..3700cd134 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -523,7 +523,7 @@ authdir_wants_to_reject_router(routerinfo_t *ri, const char **msg,
/* Okay. Now check whether the fingerprint is recognized. */
uint32_t status = dirserv_router_get_status(ri, msg);
time_t now;
- int severity = complain ? LOG_NOTICE : LOG_INFO;
+ int severity = (complain && ri->contact_info) ? LOG_NOTICE : LOG_INFO;
tor_assert(msg);
if (status & FP_REJECT)
return -1; /* msg is already set. */