[tor-commits] [tor/master] Removed redundant check_sockaddr_family_match call
nickm at torproject.org
nickm at torproject.org
Thu Aug 2 19:52:21 UTC 2012
commit d91bbf376c75fa339d6da278ff90d60eadc57a11
Author: Matthew Finkel <matthew.finkel at gmail.com>
Date: Thu Aug 2 15:13:34 2012 -0400
Removed redundant check_sockaddr_family_match call
---
src/or/connection.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/or/connection.c b/src/or/connection.c
index 777162c..b886a0e 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 */
More information about the tor-commits
mailing list