aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/web/webaddons.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/tools/web/webaddons.py')
-rw-r--r--mitmproxy/tools/web/webaddons.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mitmproxy/tools/web/webaddons.py b/mitmproxy/tools/web/webaddons.py
index ba3bdead..bd85651a 100644
--- a/mitmproxy/tools/web/webaddons.py
+++ b/mitmproxy/tools/web/webaddons.py
@@ -18,13 +18,13 @@ class WebAddon:
"Web UI port."
)
loader.add_option(
- "web_iface", str, "127.0.0.1",
- "Web UI interface."
+ "web_host", str, "127.0.0.1",
+ "Web UI host."
)
def running(self):
if hasattr(ctx.options, "web_open_browser") and ctx.options.web_open_browser:
- web_url = "http://{}:{}/".format(ctx.options.web_iface, ctx.options.web_port)
+ web_url = "http://{}:{}/".format(ctx.options.web_host, ctx.options.web_port)
success = open_browser(web_url)
if not success:
ctx.log.info(