From: Guy Harris Date: Thu, 3 Mar 2022 23:36:17 +0000 (-0800) Subject: dag: fix a comment. X-Git-Tag: libpcap-1.10.2~214 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/ce5966ffed92c8ceeccff42f0f9d2010b4fdf8af dag: fix a comment. The FCS length in the pcap file header is in units of 16-bit words, not in units of bytes. (cherry picked from commit 94079271fafe58a04e7e3a42eb1d7107df616947) --- diff --git a/pcap-dag.c b/pcap-dag.c index ff006150..108f029a 100644 --- a/pcap-dag.c +++ b/pcap-dag.c @@ -950,7 +950,7 @@ static int dag_activate(pcap_t* p) * Did the user request that they not be stripped? */ if ((s = getenv("ERF_DONT_STRIP_FCS")) != NULL) { - /* Yes. Note the number of bytes that will be + /* Yes. Note the number of 16-bit words that will be supplied. */ p->linktype_ext = LT_FCS_DATALINK_EXT(pd->dag_fcs_bits/16);