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
e0f6047e
Commit
e0f6047e
authored
Sep 23, 2020
by
Nick Mathewson
🎨
Browse files
Remove needless sort operation.
parent
3196de33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/feature/dirauth/dirvote.c
View file @
e0f6047e
...
@@ -4372,8 +4372,6 @@ get_all_possible_sybil(const smartlist_t *routers)
...
@@ -4372,8 +4372,6 @@ get_all_possible_sybil(const smartlist_t *routers)
smartlist_add
(
routers_ipv4
,
ri
);
smartlist_add
(
routers_ipv4
,
ri
);
}
}
});
});
routers_sort_by_identity
(
routers_ipv4
);
routers_sort_by_identity
(
routers_ipv6
);
omit_as_sybil_ipv4
=
get_sybil_list_by_ip_version
(
routers_ipv4
,
AF_INET
);
omit_as_sybil_ipv4
=
get_sybil_list_by_ip_version
(
routers_ipv4
,
AF_INET
);
omit_as_sybil_ipv6
=
get_sybil_list_by_ip_version
(
routers_ipv6
,
AF_INET6
);
omit_as_sybil_ipv6
=
get_sybil_list_by_ip_version
(
routers_ipv6
,
AF_INET6
);
...
...
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