Wireshark-commits: [Wireshark-commits] master 275a6e4: Move wtap_encap_requires_phdr() amongs the o

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

Commits:

275a6e4 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>
    

Actions performed:

    from  65a422e   pcapng: Free option_content on error
     add  275a6e4   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(-)