diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-15 13:00:19 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-15 13:00:19 -0500 |
commit | 1e46952f36c5fb83d0f3e60e90951bb9e8ea8d77 (patch) | |
tree | 710e1a961319a806b39eaf48d21b7a78b493c489 /src/or/connection.c | |
parent | a4fce0fee855288d600636462f1ca9acf30e036f (diff) | |
download | tor-1e46952f36c5fb83d0f3e60e90951bb9e8ea8d77.tar.gz tor-1e46952f36c5fb83d0f3e60e90951bb9e8ea8d77.zip |
Set IPv4/IPv6 flags correctly when being a SOCKS client
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index ecfb8a930e..f9d8a6dbfe 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -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; |