From 44dc3a052e724bdf10e9c04e1756db89615f5685 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 6 Feb 2011 10:52:54 +1300 Subject: Add option to tell mitmproxy which interfaces to bind to. --- libmproxy/console.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'libmproxy/console.py') diff --git a/libmproxy/console.py b/libmproxy/console.py index 04e46064..84ef6a5f 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -632,7 +632,14 @@ class StatusBar(WWrap): if self.expire and time.time() > self.expire: self.message("") status = urwid.Columns([ - urwid.Text([('title', "mproxy:%s"%self.master.server.port)]), + urwid.Text( + [ + ( + 'title', + "mitmproxy %s:%s"%(self.master.server.address, self.master.server.port) + ) + ] + ), urwid.Text( [ self.text, -- cgit v1.2.3