aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-09-17 11:05:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-09-17 11:05:20 +1200
commit21f74efa10374d99df29a3eb666370b28b30d5b3 (patch)
tree7638b0fa90c9a0029ed1034fbb9c22fbf6ca5426 /libmproxy/proxy.py
parente039940f49aa057903c50aa9e0feb13da9990820 (diff)
downloadmitmproxy-21f74efa10374d99df29a3eb666370b28b30d5b3.tar.gz
mitmproxy-21f74efa10374d99df29a3eb666370b28b30d5b3.tar.bz2
mitmproxy-21f74efa10374d99df29a3eb666370b28b30d5b3.zip
Stub out ctypes structures for OSX transparent mode.
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index 4c216d11..961ee465 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -508,7 +508,7 @@ def process_proxy_options(parser, options):
if not platform.resolver:
parser.error("Transparent mode not supported on this platform.")
trans = dict(
- resolver = platform.resolver,
+ resolver = platform.resolver(),
sslports = TRANSPARENT_SSL_PORTS
)
else: