aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol2/transparent_proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/protocol2/transparent_proxy.py')
-rw-r--r--libmproxy/protocol2/transparent_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol2/transparent_proxy.py b/libmproxy/protocol2/transparent_proxy.py
index f073e2f8..4ed4c14b 100644
--- a/libmproxy/protocol2/transparent_proxy.py
+++ b/libmproxy/protocol2/transparent_proxy.py
@@ -13,7 +13,7 @@ class TransparentProxy(Layer, ServerConnectionMixin):
def __call__(self):
try:
- self.server_address = self.resolver.original_addr(self.client_conn.connection)
+ self.server_conn.address = self.resolver.original_addr(self.client_conn.connection)
except Exception as e:
raise ProtocolException("Transparent mode failure: %s" % repr(e), e)