Wireshark-commits: [Wireshark-commits] master-2.6 e0a652c: Move wtap_encap_requires_phdr() amongs t
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Sep 2018 18:55:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e0a652cf2036f608c9c5e85e3f818f7153f1dbef
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

e0a652c 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 e50e86c97427694812efd5ebada1a2c3bef9cb7c)
    Reviewed-on: https://code.wireshark.org/review/29869
    

Actions performed:

    from  b5d51f2   Get rid of unused flag argument.
     add  e0a652c   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(-)