Wireshark-commits: [Wireshark-commits] master-2.6 da542af: lanalyzer: Make sure a LANalyzer file ha

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 12 Apr 2020 03:19:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=da542af18cd0c33e081cd08486299fc932afdf49
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

da542af by Guy Harris (guy@xxxxxxxxxxxx):

    lanalyzer: Make sure a LANalyzer file has exactly one summary record.
    
    If it has none, we don't know what link-layer header type it has, nor do
    we have a start time to use for time stamps.
    
    If it has more than one, we don't know which one to believe.
    
    Bug: 16459
    Change-Id: I306ec45171f9de4643699a53a4d837f4f7750c69
    Reviewed-on: https://code.wireshark.org/review/36791
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    (cherry picked from commit edf694393b7034530e2b5b7b5cd2da3322d10b6b)
    Reviewed-on: https://code.wireshark.org/review/36794
    

Actions performed:

    from  f097080   2.6.16 → 2.6.17.
     add  da542af   lanalyzer: Make sure a LANalyzer file has exactly one summary record.


Summary of changes:
 wiretap/lanalyzer.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 46 insertions(+), 6 deletions(-)