forked from osmocom/wireshark
ascend: set rec->rec_type.
REC_TYPE_PACKET is 0, so if it's been initialized to 0, and never gets overwritten, this fixes code withotu fixing a visible bug, but it should be done anyway.
This commit is contained in:
parent
26dd456e62
commit
162251176a
|
@ -368,6 +368,7 @@ parse_ascend(ascend_t *ascend, FILE_T fh, wtap_rec *rec, Buffer *buf,
|
|||
if (ascend->inittime > parser_state.secs)
|
||||
ascend->inittime -= parser_state.secs;
|
||||
}
|
||||
rec->rec_type = REC_TYPE_PACKET;
|
||||
rec->presence_flags = WTAP_HAS_TS|WTAP_HAS_CAP_LEN;
|
||||
rec->ts.secs = parser_state.secs + ascend->inittime;
|
||||
rec->ts.nsecs = parser_state.usecs * 1000;
|
||||
|
|
Loading…
Reference in New Issue