From 7e633d8a8ae1a1da4fa1dc2bd0ac7865149e08fa Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 2 May 2016 19:05:14 -0700 Subject: [PATCH] fix ClientHello.__repr__ --- mitmproxy/protocol/tls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/protocol/tls.py b/mitmproxy/protocol/tls.py index 7909cee22..74c55ab47 100644 --- a/mitmproxy/protocol/tls.py +++ b/mitmproxy/protocol/tls.py @@ -308,7 +308,7 @@ class TlsClientHello(object): def __repr__(self): return "TlsClientHello( sni: %s alpn_protocols: %s, cipher_suites: %s)" % \ - (self._client_hello.sni, self.alpn_protocols, self.cipher_suites) + (self.sni, self.alpn_protocols, self.cipher_suites) class TlsLayer(Layer):