mirror of
https://github.com/adulau/crl-monitor.git
synced 2024-11-25 03:27:10 +00:00
Partial match group skipped
This commit is contained in:
parent
8411b99e9c
commit
19ee42fa3e
1 changed files with 5 additions and 4 deletions
|
@ -34,10 +34,11 @@ for l in fileinput.input(args.r):
|
||||||
cert = None
|
cert = None
|
||||||
if flow.search(l):
|
if flow.search(l):
|
||||||
m = flow.match(l)
|
m = flow.match(l)
|
||||||
session = m.group(1)
|
if m is not None:
|
||||||
srcip = m.group(2)
|
session = m.group(1)
|
||||||
dstip = m.group(3)
|
srcip = m.group(2)
|
||||||
dstport = m.group(4)
|
dstip = m.group(3)
|
||||||
|
dstport = m.group(4)
|
||||||
|
|
||||||
if (cert is True):
|
if (cert is True):
|
||||||
certstring += l.rstrip('\n')
|
certstring += l.rstrip('\n')
|
||||||
|
|
Loading…
Reference in a new issue