1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

support netstat -A

This commit is contained in:
Kelly Brazil
2020-05-19 17:36:16 -07:00
parent 9d5ba4c834
commit a4371cd187

View File

@ -191,17 +191,17 @@ def parse(cleandata):
headers = header_text.split() headers = header_text.split()
continue continue
if reg_kernel_control and line.startswith('id '): if reg_kernel_control and (line.startswith('id ') or line.startswith('kctlref ')):
header_text = normalize_headers(line) header_text = normalize_headers(line)
headers = header_text.split() headers = header_text.split()
continue continue
if active_kernel_event and line.startswith('id '): if active_kernel_event and (line.startswith('Proto ') or line.startswith(' pcb ')):
header_text = normalize_headers(line) header_text = normalize_headers(line)
headers = header_text.split() headers = header_text.split()
continue continue
if active_kernel_control and line.startswith('Proto '): if active_kernel_control and (line.startswith('Proto ') or line.startswith(' pcb ')):
header_text = normalize_headers(line) header_text = normalize_headers(line)
headers = header_text.split() headers = header_text.split()
continue continue