aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/connection_edge.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-02-03 08:54:40 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-02-03 08:54:40 -0500
commitd9e648f0d961699c1eb89fd49dfdcfce80e598a9 (patch)
tree3cb9fd1e7d9a4f8fa8fbe7b10932775210945626 /src/core/or/connection_edge.c
parent62cecfdc5f998afee580b7338325db803c69b827 (diff)
parente50648582b6e0bc7bb37edc08e7a4d67b50f2c53 (diff)
downloadtor-d9e648f0d961699c1eb89fd49dfdcfce80e598a9.tar.gz
tor-d9e648f0d961699c1eb89fd49dfdcfce80e598a9.zip
Merge branch 'maint-0.4.3' into release-0.4.3
Diffstat (limited to 'src/core/or/connection_edge.c')
-rw-r--r--src/core/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/connection_edge.c b/src/core/or/connection_edge.c
index 1130d8b2cb..8bd1cddd36 100644
--- a/src/core/or/connection_edge.c
+++ b/src/core/or/connection_edge.c
@@ -4208,7 +4208,7 @@ connection_exit_connect(edge_connection_t *edge_conn)
* case of an attack so this is a small price to pay. */
if (!connection_edge_is_rendezvous_stream(edge_conn) &&
!network_reentry_is_allowed() &&
- nodelist_reentry_probably_contains(&conn->addr, conn->port)) {
+ nodelist_reentry_contains(&conn->addr, conn->port)) {
log_info(LD_EXIT, "%s:%d tried to connect back to a known relay address. "
"Closing.", escaped_safe_str_client(conn->address),
conn->port);