mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-06 06:49:53 +02:00
eaf87a3bf69b92a15d0f51c7e3f08e8d900862cc
As Hakan Engblom pointed out a CAN 2.0B RTR frame can contain a non-zero DLC value which was not addressed by parse_canframe() and sprint_canframe(). This patch adds support for non-zero DLC values in a way that legacy logfiles are still usable as the DLC can optionally be added. Reported-by: Hakan Engblom <H.Engblom@tele-radio.com> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C
98.1%
CMake
0.7%
Makefile
0.6%
Shell
0.5%