mirror of
https://github.com/adulau/crl-monitor.git
synced 2024-12-23 01:06:02 +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
|
||||
if flow.search(l):
|
||||
m = flow.match(l)
|
||||
session = m.group(1)
|
||||
srcip = m.group(2)
|
||||
dstip = m.group(3)
|
||||
dstport = m.group(4)
|
||||
if m is not None:
|
||||
session = m.group(1)
|
||||
srcip = m.group(2)
|
||||
dstip = m.group(3)
|
||||
dstport = m.group(4)
|
||||
|
||||
if (cert is True):
|
||||
certstring += l.rstrip('\n')
|
||||
|
|
Loading…
Reference in a new issue