aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ngsniffer.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-03 20:09:01 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-03 20:09:01 +0000
commitd0606b986ab168816861c487389178cad5d8dbb1 (patch)
treea3bad91401a68fb313a649f683d3557f1c5d5a42 /wiretap/ngsniffer.c
parent64c65413461f9a862254f6b16ea181972050b47a (diff)
Well, it's not as simple as "version 5 internetwork analyzer captures
hide the subtype in the reserved field in the version number", alas.... svn path=/trunk/; revision=6845
Diffstat (limited to 'wiretap/ngsniffer.c')
-rw-r--r--wiretap/ngsniffer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c
index 3483fcf076..7b36b7798b 100644
--- a/wiretap/ngsniffer.c
+++ b/wiretap/ngsniffer.c
@@ -1,6 +1,6 @@
/* ngsniffer.c
*
- * $Id: ngsniffer.c,v 1.96 2003/01/03 06:45:45 guy Exp $
+ * $Id: ngsniffer.c,v 1.97 2003/01/03 20:09:01 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -302,13 +302,14 @@ struct frame6_rec {
* Network type values in type 7 records.
*
* Note: captures with a major version number of 2 appear to have
- * type 7 records with text in them (at least one I have does); captures
- * with a major version number of 5 appear not to have type 7 records
- * at all (at least one I have doesn't), but do appear to put
+ * type 7 records with text in them (at least one I have does); some
+ * captures with a major version number of 5 appear not to have type 7
+ * records at all (at least one I have doesn't), but do appear to put
* non-zero values in the "rsvd" field of the version header (at least
* one I have does) - at least some other captures with smaller version
* numbers appear to put 0 there, so *maybe* that's where the network
- * (sub)type is hidden.
+ * (sub)type is hidden. Unfortunately, other version 5 captures, of
+ * multiple network types, put 0 there, so that's not it.
*
* The semantics of these network types is inferred from the Sniffer
* documentation, as they correspond to types described in the UI;