Partial match group skipped

This commit is contained in:
Alexandre Dulaunoy 2015-02-01 14:41:15 +01:00
parent 8411b99e9c
commit 19ee42fa3e

View file

@ -34,6 +34,7 @@ for l in fileinput.input(args.r):
cert = None
if flow.search(l):
m = flow.match(l)
if m is not None:
session = m.group(1)
srcip = m.group(2)
dstip = m.group(3)