diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-23 06:32:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-23 06:32:52 +0000 |
commit | 0a979b81b85d66476e5fc5000bd7a8a3e4a0e2a5 (patch) | |
tree | 2666b496c8721facbcc2f47f8ec8a3aa1c397d73 /wiretap/file.c | |
parent | 20d4266049f015380f79c3320a4b7cd9c8bed922 (diff) |
Get rid of "m"/"M" and other Macintosh references in names - it appears
that EtherPeek for Windows uses the same format as EtherPeek for MacOS,
so the code isn't specific to the MacOS version.
Check the physMedium value in the secondary header, and leave a
placeholder for a value of 1, which is presumably used in AiroPeek
captures.
Treat unknown mediaType and physMedium values as indications that we
don't have a *Peek file, not as unsupported *Peek files - we need all
the heuristics we can get.
svn path=/trunk/; revision=4601
Diffstat (limited to 'wiretap/file.c')
-rw-r--r-- | wiretap/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/file.c b/wiretap/file.c index 11dd155cde..6145447c6b 100644 --- a/wiretap/file.c +++ b/wiretap/file.c @@ -1,6 +1,6 @@ /* file.c * - * $Id: file.c,v 1.79 2002/01/22 22:38:05 guy Exp $ + * $Id: file.c,v 1.80 2002/01/23 06:32:52 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -373,11 +373,11 @@ static const struct file_type_info { { "pppd log (pppdump format)", NULL, NULL, NULL }, - /* WTAP_FILE_ETHERPEEK_MAC_V56 */ + /* WTAP_FILE_ETHERPEEK_V56 */ { "EtherPeek/TokenPeek trace (V5 & V6 file format)", NULL, NULL, NULL }, - /* WTAP_FILE_ETHERPEEK_MAC_V7 */ + /* WTAP_FILE_ETHERPEEK_V7 */ { "EtherPeek/TokenPeek trace (V7 file format)", NULL, NULL, NULL }, |