summaryrefslogtreecommitdiff
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-08 22:30:29 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-08 22:30:29 +0000
commit5e7698f3224a44369e62e85c9448447c75f278ab (patch)
tree99a0efe70f6d3f0a71c4a1f5d9eb2e9667e8113f /wiretap
parent3ecfaeedb576e5e56a817820335b18e6b2ca59c5 (diff)
downloadwireshark-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')
-rw-r--r--wiretap/dbs-etherwatch.c4
-rw-r--r--wiretap/vms.c4
2 files changed, 4 insertions, 4 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;
diff --git a/wiretap/vms.c b/wiretap/vms.c
index e577f2b780..1b9f95bd8f 100644
--- a/wiretap/vms.c
+++ b/wiretap/vms.c
@@ -1,6 +1,6 @@
/* vms.c
*
- * $Id: vms.c,v 1.2 2001/12/24 17:00:01 gerald Exp $
+ * $Id: vms.c,v 1.3 2002/01/08 22:30:29 guy Exp $
*
* Wiretap Library
* Copyright (c) 2001 by Marc Milgram <mmilgram@arrayinc.com>
@@ -159,7 +159,7 @@ int vms_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_VMS;
wth->snapshot_length = 16384; /* just guessing */
wth->subtype_read = vms_read;