aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-04 12:26:43 +0100
committerNick Mathewson <nickm@torproject.org>2015-03-04 12:26:43 +0100
commita726cd76df0205d573ce0a641b65a89c5f1ce3b4 (patch)
treece522f53db73f4b742432d9aa57bc26e102129cd /src/or/connection_edge.c
parentc5c4ea2db0411ac1e5f3abd6ca8fa4ae322ee906 (diff)
parent681802817deb6fb93b95f8284856fd42f3556600 (diff)
downloadtor-a726cd76df0205d573ce0a641b65a89c5f1ce3b4.tar.gz
tor-a726cd76df0205d573ce0a641b65a89c5f1ce3b4.zip
Merge remote-tracking branch 'public/bug15064_025' into maint-0.2.6
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index e6dfc634e9..2a1a2f0fd2 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1763,7 +1763,8 @@ connection_ap_get_original_destination(entry_connection_t *conn,
if (options->TransProxyType_parsed == TPT_PF_DIVERT)
return destination_from_socket(conn, req);
- if (options->TransProxyType_parsed == TPT_DEFAULT)
+ if (options->TransProxyType_parsed == TPT_DEFAULT ||
+ options->TransProxyType_parsed == TPT_IPFW)
return destination_from_pf(conn, req);
(void)conn;