diff options
Diffstat (limited to 'libmproxy/console')
-rw-r--r-- | libmproxy/console/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 054cc66e..8574b93f 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -175,8 +175,8 @@ class StatusBar(common.WWrap): opts.append("norefresh") if self.master.killextra: opts.append("killextra") - if self.master.server.config.upstream_cert: - opts.append("upstream-cert") + if self.master.server.config.no_upstream_cert: + opts.append("no-upstream-cert") if opts: r.append("[%s]"%(":".join(opts))) @@ -859,7 +859,7 @@ class ConsoleMaster(flow.FlowMaster): ("anticomp", "c"), ("killextra", "k"), ("norefresh", "n"), - ("upstream-certs", "u"), + ("no-upstream-certs", "u"), ), self._change_options ) @@ -901,7 +901,7 @@ class ConsoleMaster(flow.FlowMaster): elif a == "n": self.refresh_server_playback = not self.refresh_server_playback elif a == "u": - self.server.config.upstream_cert = not self.server.config.upstream_cert + self.server.config.no_upstream_cert = not self.server.config.no_upstream_cert def shutdown(self): self.state.killall(self) |