Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
18c1697e
Commit
18c1697e
authored
1 week ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
fix two comment typos from 0.4.8.15
parent
0314e431
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!870
fix two comment typos from 0.4.8.15
Pipeline
#261740
passed
1 week ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/feature/nodelist/node_select.h
+1
-1
1 addition, 1 deletion
src/feature/nodelist/node_select.h
src/feature/nodelist/routerlist.c
+1
-1
1 addition, 1 deletion
src/feature/nodelist/routerlist.c
with
2 additions
and
2 deletions
src/feature/nodelist/node_select.h
+
1
−
1
View file @
18c1697e
...
...
@@ -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, indi
c
ate 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. */
...
...
This diff is collapsed.
Click to expand it.
src/feature/nodelist/routerlist.c
+
1
−
1
View file @
18c1697e
...
...
@@ -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
e
ndpoints (IP, RP, HSDir). */
if
(
for_hs
&&
node
->
is_middle_only
)
{
return
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment