diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-01 11:21:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-01 11:21:19 -0400 |
commit | 1d48712c286981d56c1b3c56b3fc38adc31a1343 (patch) | |
tree | cf6cde6034b893a6e9213b82692a71051c34c082 /src | |
parent | 9d24a352c01414b14c3ffe02541508345ca32a10 (diff) | |
parent | f6ecda84005cc436c656e5fc7ed5b6dfe71a6ca8 (diff) | |
download | tor-1d48712c286981d56c1b3c56b3fc38adc31a1343.tar.gz tor-1d48712c286981d56c1b3c56b3fc38adc31a1343.zip |
Merge branch 'maint-0.2.9' into maint-0.3.0
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index d9d9e73643..d3a99a3193 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1987,8 +1987,8 @@ destination_from_socket(entry_connection_t *conn, socks_request_t *req) socklen_t orig_dst_len = sizeof(orig_dst); tor_addr_t addr; -#ifdef TRANS_TRPOXY - if (options->TransProxyType_parsed == TPT_TPROXY) { +#ifdef TRANS_TPROXY + if (get_options()->TransProxyType_parsed == TPT_TPROXY) { if (getsockname(ENTRY_TO_CONN(conn)->s, (struct sockaddr*)&orig_dst, &orig_dst_len) < 0) { int e = tor_socket_errno(ENTRY_TO_CONN(conn)->s); |