mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Removed redundant check_sockaddr_family_match call
This commit is contained in:
parent
c9aafa0962
commit
d91bbf376c
@ -1203,11 +1203,6 @@ connection_handle_listener_read(connection_t *conn, int new_type)
|
|||||||
return 0;
|
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);
|
tor_addr_from_sockaddr(&addr, remote, &port);
|
||||||
|
|
||||||
/* process entrance policies here, before we even create the connection */
|
/* process entrance policies here, before we even create the connection */
|
||||||
|
Loading…
Reference in New Issue
Block a user