Skip to content

Commit

Permalink
netflow, log parser. for backwards compatibility add copy of recv_sec…
Browse files Browse the repository at this point in the history
… field in recv
  • Loading branch information
AdSchellevis committed May 16, 2019
1 parent 6cd8297 commit 8aecf38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/opnsense/scripts/netflow/lib/flowparser.py
Expand Up @@ -140,6 +140,7 @@ def __iter__(self):
record['sys_uptime_ms'] = record['agent_info'][0]
record['netflow_ver'] = record['agent_info'][3]
record['recv_sec'] = record['recv_time'][0]
record['recv'] = record['recv_sec']
record['recv_usec'] = record['recv_time'][1]
if 'proto_flags_tos' in record:
record['tcp_flags'] = record['proto_flags_tos'][0]
Expand Down

0 comments on commit 8aecf38

Please sign in to comment.