Merge pull request #1647 from babldev/fix-flowfilter-example

Fix method call in flowfilter example
This commit is contained in:
Aldo Cortesi
2016-10-22 13:23:08 +13:00
committed by GitHub

View File

@@ -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)