Wireshark-commits: [Wireshark-commits] master-2.4 1a439c7: Move wtap_encap_requires_phdr() amongs t

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

Commits:

1a439c7 by Guy Harris (guy@xxxxxxxxxxxx):

    Move wtap_encap_requires_phdr() amongs the other switch statement routines.
    
    Keeping them together might increase the likelihood that all of them get
    updated when a new pcap/pcapng link-layer type whose pseudo-header is
    first processed here rather than by a dissector.
    
    Change-Id: Ia6f45c38e9530b7c6a53d006fbc01b3040e9a014
    Reviewed-on: https://code.wireshark.org/review/29868
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 275a6e4c36bc7e5da350981f0a7c3ad2d6b973ca)
    Reviewed-on: https://code.wireshark.org/review/29870
    

Actions performed:

    from  3633a1f   Get rid of unused flag argument.
     add  1a439c7   Move wtap_encap_requires_phdr() amongs the other switch statement routines.


Summary of changes:
 wiretap/pcap-common.c | 43 +++++++++++++++++++++----------------------
 1 file changed, 21 insertions(+), 22 deletions(-)