]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix two comment typos from 0.4.8.15
authorRoger Dingledine <arma@torproject.org>
Tue, 25 Mar 2025 15:22:24 +0000 (11:22 -0400)
committerRoger Dingledine <arma@torproject.org>
Tue, 25 Mar 2025 15:22:24 +0000 (11:22 -0400)
src/feature/nodelist/node_select.h
src/feature/nodelist/routerlist.c

index 03d3a160196460a1e83efb0ed04e1f16d99a7b1c..0d7a5f23aa520a40012205adfc9c57c107998439 100644 (file)
@@ -29,7 +29,7 @@ typedef enum router_crn_flags_t {
   /* On clients, if choosing a node for a direct connection, only provide
    * nodes that satisfy ClientPreferIPv6OR. */
   CRN_PREF_ADDR = 1<<5,
-  /* On clients, indiate that we need a HS related circuit (IP, HSDir or RP).
+  /* On clients, indicate that we need a HS related circuit (IP, HSDir, or RP).
    * This is used in order to avoid certain nodes for these purposes. */
   CRN_FOR_HS = 1<<6,
   /* On clients, only provide nodes that can initiate IPv6 extends. */
index 6913d8778d2f68e3c6f5f980b0d9632232e33e20..9b83db0a6205c5692dfaadd00561a11d282de21b 100644 (file)
@@ -600,7 +600,7 @@ router_can_choose_node(const node_t *node, int flags)
     return false;
   if (initiate_ipv6_extend && !node_supports_initiating_ipv6_extends(node))
     return false;
-  /* MiddleOnly node should never be used for HS ndpoints (IP, RP, HSDir). */
+  /* MiddleOnly node should never be used for HS endpoints (IP, RP, HSDir). */
   if (for_hs && node->is_middle_only) {
     return false;
   }