diff options
-rw-r--r-- | examples/flowfilter.py | 2 | ||||
-rw-r--r-- | issue_template.md | 22 |
2 files changed, 11 insertions, 13 deletions
diff --git a/examples/flowfilter.py b/examples/flowfilter.py index 80a153da..34d97275 100644 --- a/examples/flowfilter.py +++ b/examples/flowfilter.py @@ -10,7 +10,7 @@ class Filter: self.filter = flowfilter.parse(spec) def response(self, flow): - if flowfilter.match(flow, self.filter): + if flowfilter.match(self.filter, flow): print("Flow matches filter:") print(flow) diff --git a/issue_template.md b/issue_template.md index 79389380..fe123d44 100644 --- a/issue_template.md +++ b/issue_template.md @@ -1,22 +1,20 @@ ##### Steps to reproduce the problem: -1. -2. -3. - -##### What is the expected behavior? - - -##### What went wrong? +1. +2. +3. ##### Any other comments? What have you tried so far? ---- -Mitmproxy Version: -Operating System: +##### System information + +<!-- + Cut and paste the output of "mitmdump --sysinfo". -<!-- Please use the mitmproxy forums (https://discourse.mitmproxy.org/) for support/how-to questions. Thanks! :) --> + If you're using an older version if mitmproxy, please specify the version + and OS. +--> |