Wireshark-commits: [Wireshark-commits] master e53a1ad: Always count packets per encapsulation.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 10 Jun 2016 07:41:23 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e53a1adf49c4b0f585b99f66c5a0ceb3653d840e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e53a1ad by Guy Harris (guy@xxxxxxxxxxxx):

    Always count packets per encapsulation.
    
    Currently, for pcapng files, if all of the IDBs we've seen *so far* are
    the same, we report it as the file's encapsulation type; however, we may
    see IDBs of a different type in the future, so don't check for
    per-packet encapsulation before counting packets of the encapsulation
    type.
    
    Change-Id: I617ddcf2963aa16e7ba58855b3e5bf326ab7dc32
    Reviewed-on: https://code.wireshark.org/review/15808
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1438d28   Set the size of the packet counts array when we create it.
    adds  e53a1ad   Always count packets per encapsulation.


Summary of changes:
 capinfos.c |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)