aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/tls_passthrough.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-03-25 11:42:43 +1300
committerGitHub <noreply@github.com>2017-03-25 11:42:43 +1300
commitc6a16e95e856c859b147e72a484feefe96c37ad9 (patch)
treeea90d5849f57d6b74ca0cefbb4498ff10776a848 /examples/complex/tls_passthrough.py
parentb531353ee0259425cff2b4857716ba2cd995a437 (diff)
parent65f0885bd6809966f694d1ffb965401b8ab2cffc (diff)
downloadmitmproxy-c6a16e95e856c859b147e72a484feefe96c37ad9.tar.gz
mitmproxy-c6a16e95e856c859b147e72a484feefe96c37ad9.tar.bz2
mitmproxy-c6a16e95e856c859b147e72a484feefe96c37ad9.zip
Merge pull request #2206 from cortesi/addonload
addon refactoring
Diffstat (limited to 'examples/complex/tls_passthrough.py')
-rw-r--r--examples/complex/tls_passthrough.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/tls_passthrough.py b/examples/complex/tls_passthrough.py
index 6dba7ca1..72c0244b 100644
--- a/examples/complex/tls_passthrough.py
+++ b/examples/complex/tls_passthrough.py
@@ -112,7 +112,7 @@ class TlsFeedback(TlsLayer):
tls_strategy = None
-def start(opts):
+def load(l):
global tls_strategy
if len(sys.argv) == 2:
tls_strategy = ProbabilisticStrategy(float(sys.argv[1]))