diff options
Diffstat (limited to 'pcap-canusb-linux.c')
-rw-r--r-- | pcap-canusb-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-canusb-linux.c b/pcap-canusb-linux.c index 9a176c30..3201edc9 100644 --- a/pcap-canusb-linux.c +++ b/pcap-canusb-linux.c @@ -368,7 +368,7 @@ static int canusb_activate(pcap_t* handle) /* Initialize some components of the pcap structure. */ handle->bufsize = 32; handle->offset = 8; - handle->linktype = DLT_CAN_SOCKETCAN; + handle->linktype = DLT_CAN_SOCKETCAN_HOSTENDIAN; handle->set_datalink_op = NULL; serial = handle->opt.device + strlen(CANUSB_IFACE); |