aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file.c
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>1999-12-14 01:12:59 +0000
committerNathan Neulinger <nneul@umr.edu>1999-12-14 01:12:59 +0000
commit2ad53e520e40e77469e4be0b1fa3cc66a810515a (patch)
treed4339ce41478187ef3aee0ecbac83996d4b41820 /wiretap/file.c
parenta20a427b9e6924574b8950675271148688e272f6 (diff)
Added support for writing netxray version 1.1 dumps.
It's very basic, and doesn't write out the timestamps currently. It also only handles WTAP_ENCAP_ETHERNET, although it can probably do the others, but I don't have a good way to test them. This code has not yet been tested against a Sniffer Pro, although wiretap can read the files just fine. svn path=/trunk/; revision=1318
Diffstat (limited to 'wiretap/file.c')
-rw-r--r--wiretap/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/file.c b/wiretap/file.c
index 4335f955bd..c65db2a07b 100644
--- a/wiretap/file.c
+++ b/wiretap/file.c
@@ -1,6 +1,6 @@
/* file.c
*
- * $Id: file.c,v 1.41 1999/12/12 22:40:08 gram Exp $
+ * $Id: file.c,v 1.42 1999/12/14 01:12:58 nneul Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -234,7 +234,7 @@ const static struct file_type_info {
/* WTAP_FILE_NETXRAY_1_1 */
{ "Network Associates Sniffer (Windows-based) 1.1", NULL,
- NULL, NULL },
+ netxray_dump_can_write_encap, netxray_dump_open_1_1 },
/* WTAP_FILE_NETXRAY_2_001 */
{ "Network Associates Sniffer (Windows-based) 2.001", NULL,