Wireshark-commits: [Wireshark-commits] master-2.0 6493a10: Handle ETH_P_CANFD as well as ETH_P_CAN.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 26 Aug 2016 00:00:49 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6493a100a0a78d7405231d483d69cd2b6e1d5b07
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

6493a10 by Guy Harris (guy@xxxxxxxxxxxx):

    Handle ETH_P_CANFD as well as ETH_P_CAN.
    
    Both of them need to have the CAN ID/flags field of the header
    byte-swapped as necessary to make sure it's in the *reading* host's byte
    order, not the *writing* host's byte order, if the two are different.
    
    Change-Id: Iac1589fdd9fe4d9ee6fbac8d821b48694d68919b
    Reviewed-on: https://code.wireshark.org/review/17333
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 17f977ec5695259ec02c7e6e4cd24e3e2ed263c1)
    Reviewed-on: https://code.wireshark.org/review/17335
    

Actions performed:

    from  6e0224e   One more change for the removal of LINKTYPE_SOCKETCAN_HOSTENDIAN.
    adds  6493a10   Handle ETH_P_CANFD as well as ETH_P_CAN.


Summary of changes:
 wiretap/pcap-common.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)