File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4146,17 +4146,17 @@ static int pcap_handle_packet_mmap(
41464146
41474147 /*
41484148 * Put multi-byte header fields in a byte-order
4149- *-independent format.
4149+ * -independent format.
41504150 */
41514151 if (canxl_hdr -> flags & CANXL_XLF ) {
41524152 /*
41534153 * This is a CAN XL frame.
41544154 *
41554155 * DLT_CAN_SOCKETCAN is specified as having
4156- * the Priority ID/VCID field in big--
4156+ * the Priority ID/VCID field in big-
41574157 * endian byte order, and the payload length
41584158 * and Acceptance Field in little-endian byte
4159- * order. but capturing on a CAN device
4159+ * order, but capturing on a CAN device
41604160 * provides them in host byte order.
41614161 * Convert them to the appropriate byte
41624162 * orders.
@@ -4171,7 +4171,7 @@ static int pcap_handle_packet_mmap(
41714171 * headers, and treats that field as
41724172 * being big-endian.
41734173 *
4174- * The other fields are put in little-
4174+ * The reason other fields are put in little-
41754175 * endian byte order is that older
41764176 * libpcap code, ignorant of CAN XL,
41774177 * left those fields alone, and the
You can’t perform that action at this time.
0 commit comments