aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-03-08 16:18:34 +0100
committerGitHub <noreply@github.com>2017-03-08 16:18:34 +0100
commit927b5707fe80582fc7867e59a9b8c70a11bb8fe0 (patch)
tree17d2065a07f95cc2fe8078ff6bed3f9c07037924 /examples
parentcb6240974d16e9f2923543fe28c201d39a63f60f (diff)
downloadmitmproxy-927b5707fe80582fc7867e59a9b8c70a11bb8fe0.tar.gz
mitmproxy-927b5707fe80582fc7867e59a9b8c70a11bb8fe0.tar.bz2
mitmproxy-927b5707fe80582fc7867e59a9b8c70a11bb8fe0.zip
fix tcp.Address leftovers
this fixes the issue described in https://github.com/mitmproxy/mitmproxy/issues/2119#issuecomment-285067292
Diffstat (limited to 'examples')
-rw-r--r--examples/complex/har_dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py
index 51983b54..86a33684 100644
--- a/examples/complex/har_dump.py
+++ b/examples/complex/har_dump.py
@@ -147,7 +147,7 @@ def response(flow):
}
if flow.server_conn.connected():
- entry["serverIPAddress"] = str(flow.server_conn.ip_address.address[0])
+ entry["serverIPAddress"] = str(flow.server_conn.ip_address[0])
HAR["log"]["entries"].append(entry)