Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
9ed87b37
Commit
9ed87b37
authored
Jul 19, 2012
by
Linus Nordberg
Committed by
Nick Mathewson
Aug 17, 2012
Browse files
Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.
Closes #6423.
parent
97602c9d
Changes
2
Show whitespace changes
Inline
Side-by-side
changes/bug6423
0 → 100644
View file @
9ed87b37
o Minor features:
- Consider new, removed or changed IPv6 OR ports a non cosmetic
change.
src/or/routerlist.c
View file @
9ed87b37
...
...
@@ -5160,6 +5160,8 @@ router_differences_are_cosmetic(const routerinfo_t *r1, const routerinfo_t *r2)
if
(
strcasecmp
(
r1
->
address
,
r2
->
address
)
||
strcasecmp
(
r1
->
nickname
,
r2
->
nickname
)
||
r1
->
or_port
!=
r2
->
or_port
||
!
tor_addr_eq
(
&
r1
->
ipv6_addr
,
&
r2
->
ipv6_addr
)
||
r1
->
ipv6_orport
!=
r2
->
ipv6_orport
||
r1
->
dir_port
!=
r2
->
dir_port
||
r1
->
purpose
!=
r2
->
purpose
||
crypto_pk_cmp_keys
(
r1
->
onion_pkey
,
r2
->
onion_pkey
)
||
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment