diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-02-20 06:49:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-02-20 06:49:27 +0000 |
commit | 3200c2543713fd849e581192c8a8d0859f9c9a57 (patch) | |
tree | 7032782f060e9c41a638eb5cde3ae3038dab929d /wiretap/file.c | |
parent | 0768c4b989e713e604fb3e2a40f8c74fbeb62a28 (diff) |
Add support for Cinco Networks NetXRay - which is, after their acquision
by Network General (subsequently merged with McAfee Associates into
Network Associates), called "Sniffer Basic".
A similar format appears to be used by the Windows Sniffer Pro.
svn path=/trunk/; revision=194
Diffstat (limited to 'wiretap/file.c')
-rw-r--r-- | wiretap/file.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/file.c b/wiretap/file.c index 041a5c7a46..4003fc6868 100644 --- a/wiretap/file.c +++ b/wiretap/file.c @@ -1,6 +1,6 @@ /* file.c * - * $Id: file.c,v 1.7 1999/01/21 05:03:56 gram Exp $ + * $Id: file.c,v 1.8 1999/02/20 06:49:26 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -31,6 +31,7 @@ #include "snoop.h" #include "iptrace.h" #include "netmon.h" +#include "netxray.h" /* The open_file_* routines should return the WTAP_FILE_* type * that they are checking for if the file is successfully recognized @@ -75,6 +76,10 @@ wtap* wtap_open_offline(char *filename) if ((wth->file_type = netmon_open(wth)) != WTAP_FILE_UNKNOWN) { goto success; } + /* WTAP_FILE_NETXRAY */ + if ((wth->file_type = netxray_open(wth)) != WTAP_FILE_UNKNOWN) { + goto success; + } /* failure: */ |