dpa400: Fix wiretap data packet len
Increment the packet size whenn adding the from_source field. Change-Id: I380305d763df40b2cf1f2209643d05dfde12a716 Reviewed-on: https://code.wireshark.org/review/27811 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
a1e5a15780
commit
bf8590326a
|
@ -147,6 +147,7 @@ static gboolean dpa400_read_packet(wtap *wth, FILE_T fh, wtap_rec *rec,
|
|||
|
||||
from_source = !get_from(&hdr);
|
||||
ws_buffer_append(buf, &from_source, 1);
|
||||
ctr++;
|
||||
|
||||
while (1) {
|
||||
if (!wtap_read_bytes_or_eof(fh, chunk, sizeof(chunk), err, err_info))
|
||||
|
|
Loading…
Reference in New Issue