mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-23 00:29:59 +02:00
add destination_ip to error lines
This commit is contained in:
@ -258,6 +258,7 @@ def _bsd_parse(line, s):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
output_line['bytes'] = line.split()[0]
|
output_line['bytes'] = line.split()[0]
|
||||||
|
output_line['destination_ip'] = s.destination_ip
|
||||||
output_line['response_ip'] = line.split()[4].strip(':').strip('(').strip(')')
|
output_line['response_ip'] = line.split()[4].strip(':').strip('(').strip(')')
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user