Wireshark-commits: [Wireshark-commits] master 34fc114: Support nanosecond-resolution time stamps wh
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 28 Sep 2014 23:54:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=34fc1145d44c896390b389e2bd2b40510eda6079
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

34fc114 by Guy Harris (guy@xxxxxxxxxxxx):

    Support nanosecond-resolution time stamps when writing pcap-ng files.
    
    Pcap-ng files have supported variable time stamp resolutions since Day
    One, and any code that reads those files but can't handle
    nanosecond-resolution time stamps is broken.
    
    Pcap files got a separate magic number for nanosecond-resolution files
    relatively recently, and not all code that reads pcap files handles that
    magic number, so we don't support it for pcap files.
    
    Based on https://code.wireshark.org/review/#/c/4304/ from Peter Hatina.
    
    Change-Id: I4f4e3b5ca0ba4fe9394765edb54bb77a4a776237
    Reviewed-on: https://code.wireshark.org/review/4358
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  982c7d3   Support nanosecond-resolution time stamp adjustment.
    adds  34fc114   Support nanosecond-resolution time stamps when writing pcap-ng files.


Summary of changes:
 text2pcap.c |   50 +++++++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 23 deletions(-)