diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-08 22:30:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-08 22:30:29 +0000 |
commit | 5e7698f3224a44369e62e85c9448447c75f278ab (patch) | |
tree | 99a0efe70f6d3f0a71c4a1f5d9eb2e9667e8113f /wiretap/dbs-etherwatch.c | |
parent | 3ecfaeedb576e5e56a817820335b18e6b2ca59c5 (diff) | |
download | wireshark-5e7698f3224a44369e62e85c9448447c75f278ab.tar.gz |
From Marc Milgram: all packets in DBS Etherwatch and VMS TCPIPTRACE
captures are IP packets, so make the file encapsulation
WTAP_ENCAP_RAW_IP rather than WTAP_ENCAP_PER_PACKET, so you can save
those captures in other formats.
svn path=/trunk/; revision=4503
Diffstat (limited to 'wiretap/dbs-etherwatch.c')
-rw-r--r-- | wiretap/dbs-etherwatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/dbs-etherwatch.c b/wiretap/dbs-etherwatch.c index e1a27b09ad..4bc7707940 100644 --- a/wiretap/dbs-etherwatch.c +++ b/wiretap/dbs-etherwatch.c @@ -1,6 +1,6 @@ /* dbs-etherwatch.c * - * $Id: dbs-etherwatch.c,v 1.1 2001/10/19 20:18:48 guy Exp $ + * $Id: dbs-etherwatch.c,v 1.2 2002/01/08 22:30:29 guy Exp $ * * Wiretap Library * Copyright (c) 2001 by Marc Milgram <mmilgram@arrayinc.com> @@ -153,7 +153,7 @@ int dbs_etherwatch_open(wtap *wth, int *err) } wth->data_offset = 0; - wth->file_encap = WTAP_ENCAP_PER_PACKET; + wth->file_encap = WTAP_ENCAP_RAW_IP; wth->file_type = WTAP_FILE_DBS_ETHERWATCH; wth->snapshot_length = 16384; /* just guessing */ wth->subtype_read = dbs_etherwatch_read; |