From 927b5707fe80582fc7867e59a9b8c70a11bb8fe0 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 8 Mar 2017 16:18:34 +0100 Subject: [PATCH] fix tcp.Address leftovers this fixes the issue described in https://github.com/mitmproxy/mitmproxy/issues/2119#issuecomment-285067292 --- examples/complex/har_dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py index 51983b54f4..86a336847c 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)