diff --git a/examples/flowfilter.py b/examples/flowfilter.py index 80a153daf..34d97275b 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)