aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-12-05 22:33:11 +0000
committerGuy Harris <guy@alum.mit.edu>2002-12-05 22:33:11 +0000
commitc3674ba31cda1077bcef8fad3d53c84c8eb6c761 (patch)
treee78dd79c10cf72f3a1eff13563c51484aefea453 /wiretap/file.c
parent6b72decb118e3bc9bf844899b1650343ee229125 (diff)
Sigh. We really *do* have to check whether a capture is a snoop or
Surveyor capture, as there's one link-layer type that UNICOS/mp snoop treats one way and Shomiti Surveyor treats another way. The only way to check that is to look at the first record to see how much padding it has. svn path=/trunk/; revision=6750
Diffstat (limited to 'wiretap/file.c')
-rw-r--r--wiretap/file.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/wiretap/file.c b/wiretap/file.c
index 155096da5a..9018cbcfc8 100644
--- a/wiretap/file.c
+++ b/wiretap/file.c
@@ -1,6 +1,6 @@
/* file.c
*
- * $Id: file.c,v 1.96 2002/07/31 19:27:57 guy Exp $
+ * $Id: file.c,v 1.97 2002/12/05 22:33:11 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -360,6 +360,10 @@ static const struct file_type_info {
{ "Sun snoop", "snoop",
snoop_dump_can_write_encap, snoop_dump_open },
+ /* WTAP_FILE_SHOMITI */
+ { "Shomiti/Finisar Surveyor", "shomiti",
+ NULL, NULL },
+
/* WTAP_FILE_IPTRACE_1_0 */
{ "AIX iptrace 1.0", NULL,
NULL, NULL },