mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Set IPv4/IPv6 flags correctly when being a SOCKS client
This commit is contained in:
parent
a4fce0fee8
commit
1e46952f36
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
|
|||
lis_conn->session_group = global_next_session_group--;
|
||||
}
|
||||
}
|
||||
if (type == CONN_TYPE_AP) {
|
||||
if (type == CONN_TYPE_AP_LISTENER) {
|
||||
lis_conn->socks_ipv4_traffic = port_cfg->ipv4_traffic;
|
||||
lis_conn->socks_ipv6_traffic = port_cfg->ipv6_traffic;
|
||||
lis_conn->socks_prefer_ipv6 = port_cfg->prefer_ipv6;
|
||||
|
|
Loading…
Add table
Reference in a new issue