Wireshark-commits: [Wireshark-commits] master-1.12 baa21fb: phdr->pkt_encap needs to be set for see
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 25 Jan 2016 20:28:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=baa21fba19403b296a8a3d5ff6a1570e0165dbd4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

baa21fb by Guy Harris (guy@xxxxxxxxxxxx):

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

Actions performed:

    from  6ee8f78   [Automatic update for 2016-01-24]
    adds  baa21fb   phdr->pkt_encap needs to be set for seek-read too.


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