Wireshark-commits: [Wireshark-commits] master 623e536: phdr->pkt_encap and phdr->pkt_tsprec need to
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 25 Jan 2016 20:21:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=623e5365e51723d880b5f4c010b2e745ad8da34d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

623e536 by Guy Harris (guy@xxxxxxxxxxxx):

    phdr->pkt_encap and phdr->pkt_tsprec need to be set for seek-read too.
    
    We set them to the file's values in wtap_read(), but we weren't setting
    them in wtap_seek_read(); set them in both places.
    
    Change-Id: Id604b1c7d27d4cee6600249e9435c49d02f8dd61
    Reviewed-on: https://code.wireshark.org/review/13531
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6bd7e92   TDMoP Dont register UDP port 0 or Ethertype 0.
    adds  623e536   phdr->pkt_encap and phdr->pkt_tsprec need to be set for seek-read too.


Summary of changes:
 wiretap/wtap.c |   13 +++++++++++++
 1 file changed, 13 insertions(+)