Wireshark-commits: [Wireshark-commits] master 1e8905c: Don't bother setting phdr->pkt_encap to wth-
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1e8905ca8e1db9231bc5381887850aa3eca7f735
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
1e8905c by Guy Harris (guy@xxxxxxxxxxxx):
Don't bother setting phdr->pkt_encap to wth->file_encap.
wtap_read() and wtap_seek_read() now do so before calling the read or
seek-read routine, so there's no need to do so in those routines.
Rename hcidump_process_packet() to hcidump_read_packet() while we're at
it, as it doesn't just process an already-read packet, it does the
reading as well as the processing.
Change-Id: Ic13da6a2096e68550d80f2eff31f03d0edb58147
Reviewed-on: https://code.wireshark.org/review/13998
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 7a5c04e PPP: remove obsolete Van Jacobson decompression preference
adds 1e8905c Don't bother setting phdr->pkt_encap to wth->file_encap.
Summary of changes:
wiretap/btsnoop.c | 1 -
wiretap/hcidump.c | 7 +++----
wiretap/packetlogger.c | 1 -
wiretap/pcap-common.c | 2 --
4 files changed, 3 insertions(+), 8 deletions(-)