mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Stop forcing IPv4 and IPv6 traffic on non-SOCKSPorts
This commit is contained in:
@@ -1718,13 +1718,6 @@ connection_listener_new(const struct sockaddr *listensockaddr,
|
||||
}
|
||||
}
|
||||
|
||||
/* Force IPv4 and IPv6 traffic on for non-SOCKSPorts.
|
||||
* Forcing options on isn't a good idea, see #32994 and #33607. */
|
||||
if (type != CONN_TYPE_AP_LISTENER) {
|
||||
lis_conn->entry_cfg.ipv4_traffic = 1;
|
||||
lis_conn->entry_cfg.ipv6_traffic = 1;
|
||||
}
|
||||
|
||||
if (connection_add(conn) < 0) { /* no space, forget it */
|
||||
log_warn(LD_NET,"connection_add for listener failed. Giving up.");
|
||||
goto err;
|
||||
|
||||
Reference in New Issue
Block a user