aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Finkel <matthew.finkel@gmail.com>2012-08-02 15:13:34 -0400
committerMatthew Finkel <matthew.finkel@gmail.com>2012-08-02 15:13:34 -0400
commitd91bbf376c75fa339d6da278ff90d60eadc57a11 (patch)
tree1fe5e4fdff9403136d2fd64960112813d781e983 /src
parentc9aafa09627305e4aed5ef6871776b0b144ccff7 (diff)
downloadtor-d91bbf376c75fa339d6da278ff90d60eadc57a11.tar
tor-d91bbf376c75fa339d6da278ff90d60eadc57a11.tar.gz
Removed redundant check_sockaddr_family_match call
Diffstat (limited to 'src')
-rw-r--r--src/or/connection.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 777162ca7..b886a0ec3 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1203,11 +1203,6 @@ connection_handle_listener_read(connection_t *conn, int new_type)
return 0;
}
- if (check_sockaddr_family_match(remote->sa_family, conn) < 0) {
- tor_close_socket(news);
- return 0;
- }
-
tor_addr_from_sockaddr(&addr, remote, &port);
/* process entrance policies here, before we even create the connection */