aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerlist.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-06-06 08:45:57 +1000
committerteor <teor@torproject.org>2019-06-06 17:26:23 +1000
commita4ea335a6906eb4f8f58b5cf458cf290d322d10f (patch)
treeead09c0e26a565b062913495cdce92d9673e56f1 /src/feature/nodelist/routerlist.h
parent3c2b2f072f996ba958ed5b6e07d3bac02291fc4a (diff)
downloadtor-a4ea335a6906eb4f8f58b5cf458cf290d322d10f.tar.gz
tor-a4ea335a6906eb4f8f58b5cf458cf290d322d10f.zip
dirauth: Fix some comments in the router status processing code.
Fixes comments in dirserv_router_get_status() and was_router_added_t. Preparation for 30780 and 16564.
Diffstat (limited to 'src/feature/nodelist/routerlist.h')
-rw-r--r--src/feature/nodelist/routerlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/nodelist/routerlist.h b/src/feature/nodelist/routerlist.h
index 5771ebb1ab..d7f44cb807 100644
--- a/src/feature/nodelist/routerlist.h
+++ b/src/feature/nodelist/routerlist.h
@@ -37,8 +37,8 @@ typedef enum was_router_added_t {
ROUTER_WAS_NOT_WANTED = -6,
/* Router descriptor was rejected because it was older than
* OLD_ROUTER_DESC_MAX_AGE. */
- ROUTER_WAS_TOO_OLD = -7, /* note contrast with 'NOT_NEW' */
- /* DOCDOC */
+ ROUTER_WAS_TOO_OLD = -7, /* note contrast with 'ROUTER_IS_ALREADY_KNOWN' */
+ /* Some certs on this router are expired. */
ROUTER_CERTS_EXPIRED = -8
} was_router_added_t;