Wireshark-commits: [Wireshark-commits] master 17f977e: Handle ETH_P_CANFD as well as ETH_P_CAN.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Aug 2016 23:59:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=17f977ec5695259ec02c7e6e4cd24e3e2ed263c1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

17f977e 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>
    

Actions performed:

    from  27372ca   One more change for the removal of LINKTYPE_SOCKETCAN_HOSTENDIAN.
    adds  17f977e   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(-)