Wireshark-commits: [Wireshark-commits] master 0a19ec7: Sort cases in pcap_get_phdr_size(), add a mi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Sep 2018 17:53:08 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0a19ec761d68b4a52a4bbfe994503d3d09dbd245
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0a19ec7 by Guy Harris (guy@xxxxxxxxxxxx):

    Sort cases in pcap_get_phdr_size(), add a missing one for WTAP_ENCAP_NFC_LLCP.
    
    Sort the cases to match the order in other routines.
    
    That turned up a missing case for WTAP_ENCAP_NFC_LLCP, so add it.
    
    Change-Id: I500731322ae93c6d2efc368f16cf468f589910f3
    Reviewed-on: https://code.wireshark.org/review/29858
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  7a07832   prefs: add the option not to load interfaces on startup.
     add  0a19ec7   Sort cases in pcap_get_phdr_size(), add a missing one for WTAP_ENCAP_NFC_LLCP.


Summary of changes:
 wiretap/pcap-common.c | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)