aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/flowfilter.py2
1 files changed, 1 insertions, 1 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)