Wireshark-commits: [Wireshark-commits] master-3.2 09c8971: editcap: fix time adjustment for ERF

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 19 Aug 2020 06:12:58 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=09c89716ed88359a64c42272efc8da2f31b933b1
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

09c8971 by Minh Phan (phanducnhatminh@xxxxxxxxx):

    editcap: fix time adjustment for ERF
    
    The erf_dump function in erf.c keeps the header intact and
    ignores the adjusted time.
    This adds a section for checking if the timestamp is changed
    and updating the header accordingly.
    
    Bug: 16578
    Change-Id: I14468a302e746c7a84cf5619b73b94850142d930
    Reviewed-on: https://code.wireshark.org/review/37301
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 88aec0ecd92a27625c213720afcef62f596538c6)
    Reviewed-on: https://code.wireshark.org/review/38195
    Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    

Actions performed:

    from  8b869ac   C12.22: Fix Calling-authentication-value-c1221 CHOICE
     add  09c8971   editcap: fix time adjustment for ERF


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