aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee8023.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-08-03 14:14:50 -0700
committerGuy Harris <guy@alum.mit.edu>2015-08-03 21:15:54 +0000
commit2964c281ab4cda312e235ba79bae3c5bcc30a60e (patch)
tree37b10ec1396a0f9e189026275acbbb2e391eb4d0 /epan/dissectors/packet-ieee8023.c
parentae05f77630d94f6cfa8bdb65b058ea553f773585 (diff)
Update a comment to reflect reality as of 1997.
"IEEE 802.3" has, since IEEE 802.3y-1997, supported a type/length field, not just a length field (i.e., they acknowledged reality), so it's no as if there are "802.3" as opposed to "D/I/X" or "Ethernet II" frames. Change-Id: Ie7f61e48cb2a343a7c83e0747a6eee46964fc335 Reviewed-on: https://code.wireshark.org/review/9858 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ieee8023.c')
-rw-r--r--epan/dissectors/packet-ieee8023.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee8023.c b/epan/dissectors/packet-ieee8023.c
index 422963864f..bfc28bc0d4 100644
--- a/epan/dissectors/packet-ieee8023.c
+++ b/epan/dissectors/packet-ieee8023.c
@@ -1,5 +1,12 @@
/* packet-ieee8023.c
- * Routine for dissecting 802.3 (as opposed to D/I/X Ethernet) packets.
+ * Routine for dissecting Ethernet packets with a length field (as opposed
+ * to a type field).
+ *
+ * The name "ieee8023" is historical, dating back to when IEEE Std 802.3
+ * had only a length field and expected all packets to have an 802.2
+ * header following the MAC header. Since IEEE 802.3y-1997, 802.3
+ * supports either a type field or a length field, so it's no longer
+ * correct to refer to "802.3" vs. "D/I/X" or vs. "Ethernet II" frames.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>