URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0f5414b0db799f0ff1b4fa11dadd8a87d329cb0f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
0f5414b by Guy Harris (guy@xxxxxxxxxxxx):
Add a preference to byte-swap the CAN ID field.
This can be useful when dealing with 1) captures from versions of
libpcap without the bug fix to use DLT_CAN_SOCKETCAN_HOSTENDIAN when
appropriate and 2) DLT_CAN_SOCKETCAN_HOSTENDIAN captures if processed by
a machine with a different byte order from the capturing machine with
software that doesn't properly put the field into host byte order when
reading and writing.
Change-Id: Ia206e5c51aecccf2508cca01cff65a4feb379ac8
Reviewed-on: https://code.wireshark.org/review/17187
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit c06da45f3cea0263cfe2a02ee4294b754e5657df)
Reviewed-on: https://code.wireshark.org/review/17188
Actions performed:
from 566e871 NLM: fix dissection of NLM_FREE_ALL message
adds 0f5414b Add a preference to byte-swap the CAN ID field.
Summary of changes:
epan/dissectors/packet-socketcan.c | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)