diag1xlogparser parse IP is ignoring timestamps
Closed this issue · 1 comments
The parse_ip
function returns a parser_result without ts
field:
scat/parsers/qualcomm/diag1xlogparser.py
Line 47 in 4ebb656
scat/parsers/qualcomm/diag1xlogparser.py
Line 60 in 4ebb656
Even if it's present in pkt_header and it's correctly parsed in parse_diag_log:
scat/parsers/qualcomm/qualcommparser.py
Line 378 in 4ebb656
Furthermore, this will cause pcapwriter to throw an exception because it will call the timestamp method on None:
scat/parsers/qualcomm/qualcommparser.py
Lines 341 to 358 in 4ebb656
Lines 69 to 70 in 4ebb656
Lines 29 to 31 in 4ebb656
Closed with fix.